5 alias ls="ls --color=auto"
11 alias psg="ps aux | grep"
14 alias mmv='noglob zmv -W'
16 if [ -f /etc/debian_version ]
19 alias asearch="apt-cache search"
20 alias ashow="apt-cache show"
21 alias apolicy="apt-cache policy"
23 alias aupdate="sudo apt update"
24 alias ainstall="sudo apt install"
25 alias aupgrade="sudo apt upgrade"
26 alias adist-upgrade="sudo apt-get dist-upgrade"
27 alias aremove="sudo apt remove"
28 alias aaremove="sudo apt autoremove"
31 if [ -f /etc/SuSE-release ]
33 if [ -x /usr/bin/smart ]
35 # aliases for smart, if it's present
36 alias search="smart search"
37 alias show="smart info"
38 alias update="sudo smart update"
39 alias install="sudo smart install"
40 alias remove="sudo smart remove"
41 alias upgrade="sudo smart upgrade"
44 alias search="zypper -R search -d"
45 alias show="zypper -R info"
46 alias update="sudo zypper refresh"
47 alias install="sudo zypper install"
48 alias remove="sudo zypper remove"
50 alias upgrade="sudo zypper update"
54 # to avoid the cd in mc history :
55 setopt histignorespace
56 alias cd=' builtin cd'
58 alias scr='screen -rd'
60 # Konsole tab renaming. Courtesy of Sebastian Kuegler
61 # http://vizzzion.org/?blogentry=737
62 if [ -n "$KONSOLE_DCOP_SESSION" -o -n "$KONSOLE_DBUS_SESSION" ]
64 if [ `/usr/bin/whoami` != 'root' ]
66 alias ssh='~/.zsh.d/wrappers/ssh'
67 alias lftp='~/.zsh.d/wrappers/lftp'
68 alias sftp='~/.zsh.d/wrappers/sftp'
69 alias su='~/.zsh.d/wrappers/su'
70 alias telnet='~/.zsh.d/wrappers/telnet'
71 alias rlogin='~/.zsh.d/wrappers/rlogin'
72 alias rsh='~/.zsh.d/wrappers/rsh'