Resolve conflicting aliases
This commit is contained in:
parent
3873b18875
commit
6544629f18
1 changed files with 14 additions and 14 deletions
28
zshrc
28
zshrc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue