mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
Add zsh config
This commit is contained in:
24
.sh_alias
Normal file
24
.sh_alias
Normal file
@@ -0,0 +1,24 @@
|
||||
# ls aliases
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
alias lst='ls -altr'
|
||||
|
||||
# color aliases
|
||||
alias ls='ls --color=auto'
|
||||
alias ls='ls --color=auto'
|
||||
alias dir='dir --color=auto'
|
||||
alias vdir='vdir --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
|
||||
# alias
|
||||
alias n='nvim'
|
||||
alias t='tmux'
|
||||
|
||||
# git alias
|
||||
alias gdf='git difftool --tool=vimdiff'
|
||||
alias gs='git status'
|
||||
# gitg branch views, line from https://gitlab.com/dhole/dot_files/blob/master/.bash_aliases#L39
|
||||
alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
|
||||
Reference in New Issue
Block a user