Resolve conflicting aliases

This commit is contained in:
lhark 2016-03-30 15:27:36 +00:00
parent 3873b18875
commit 6544629f18

28
zshrc
View file

@ -62,20 +62,6 @@ alias minecraft="java -jar $HOME/.minecraft/launcher.jar"
alias redwm='cd ~/abs/dwm; updpkgsums; makepkg -fi --noconfirm; killall dwm'
# Term specific hacks
case $TERM in
xterm*)
preexec () {
print -Pn "\e]0;$1 -- ${USER}@${HOST}\a"
}
;;
# Fix broken ssh with st
st*)
alias ssh='TERM=xterm ssh'
;;
esac
# Aliases
alias acs='apt-cache search'
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars -h'
@ -107,6 +93,20 @@ alias -g .......='../../../../../..'
alias -g ........='../../../../../../..'
# Term specific hacks
case $TERM in
xterm*)
preexec () {
print -Pn "\e]0;$1 -- ${USER}@${HOST}\a"
}
;;
# Fix broken ssh with st
st*)
alias ssh='TERM=xterm ssh'
;;
esac
# Demande confirmation pour 'rm *' -> ou
unsetopt rm_star_silent