Refactor zsh aliases
This commit is contained in:
parent
eba864d724
commit
b58381faf0
|
@ -5,14 +5,13 @@ alias mv='mv -i'
|
|||
|
||||
alias mkdir='mkdir -p'
|
||||
alias wget='wget -c'
|
||||
alias rg='noglob rg'
|
||||
alias bc='bc -lq'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
|
||||
alias rg='noglob rg'
|
||||
alias ag='noglob ag -p $HOME/.config/ag/agignore'
|
||||
|
||||
|
||||
### convenience
|
||||
alias ..='cd ..'
|
||||
|
@ -24,12 +23,17 @@ alias q=exit
|
|||
alias clr=clear
|
||||
alias sudo='sudo '
|
||||
|
||||
if command -v exa >/dev/null; then
|
||||
alias exa='exa --group-directories-first'
|
||||
alias l='exa -1'
|
||||
alias ll='exa -l'
|
||||
alias la='LC_COLLATE=C exa -la'
|
||||
alias mk=make
|
||||
else
|
||||
alias l='ls -1'
|
||||
alias ll='ls -l'
|
||||
fi
|
||||
|
||||
alias mk=make
|
||||
alias rcp='rsync -vaP --delete'
|
||||
alias rmirror='rsync -rtvu --delete'
|
||||
alias gurl='curl --compressed'
|
||||
|
|
Loading…
Reference in a new issue