Minor cleanup of alias definitions
This commit is contained in:
parent
bb1b81eae6
commit
5ce16ad385
1 changed files with 10 additions and 10 deletions
|
@ -1,17 +1,17 @@
|
||||||
#! zsh
|
#! zsh
|
||||||
alias has_command='whence >/dev/null'
|
alias ls='ls -F --color=auto'
|
||||||
alias ls="ls -F --color=auto"
|
alias lsl='ls -lh'
|
||||||
alias lsl="ls -lh"
|
alias grep='grep --color=auto'
|
||||||
alias grep="grep --color=auto"
|
alias egrep='egrep --color=auto'
|
||||||
alias egrep="egrep --color=auto"
|
alias pseudo=sudo
|
||||||
alias pseudo="sudo"
|
if (( $+commands[xdg-open] )); then
|
||||||
if has_command xdg-open; then
|
alias ]=xdg-open
|
||||||
alias ]='xdg-open'
|
|
||||||
else
|
else
|
||||||
alias ]='open'
|
alias ]=open
|
||||||
fi
|
fi
|
||||||
|
alias cdu=cd-gitroot
|
||||||
|
|
||||||
# make sure ELinks can detect when it's in tmux
|
# make sure ELinks can detect when it's in tmux
|
||||||
alias elinks="STY= elinks"
|
alias elinks="STY= elinks"
|
||||||
|
|
||||||
has_command hub && alias git=hub
|
(( $+commands[hub] )) && alias git=hub
|
||||||
|
|
Loading…
Reference in a new issue