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 search="apt-cache search"
20 alias show="apt-cache show"
21 alias policy="apt-cache policy"
23 alias update="sudo apt-get update"
24 alias install="sudo apt-get install"
25 alias upgrade="sudo apt-get upgrade"
26 alias dist-upgrade="sudo apt-get dist-upgrade"
27 alias remove="sudo apt-get remove"
30 if [ -f /etc/SuSE-release ]
32 if [ -x /usr/bin/smart ]
34 # aliases for smart, if it's present
35 alias search="smart search"
36 alias show="smart info"
37 alias update="sudo smart update"
38 alias install="sudo smart install"
39 alias remove="sudo smart remove"
40 alias upgrade="sudo smart upgrade"
43 alias search="zypper -R search -d"
44 alias show="zypper -R info"
45 alias update="sudo zypper refresh"
46 alias install="sudo zypper install"
47 alias remove="sudo zypper remove"
49 alias upgrade="sudo zypper update"
53 # to avoid the cd in mc history :
54 setopt histignorespace
55 alias cd=' builtin cd'
57 alias scr='screen -rd'
59 # Konsole tab renaming. Courtesy of Sebastian Kuegler
60 # http://vizzzion.org/?blogentry=737
61 if [ -n "$KONSOLE_DCOP_SESSION" -o -n "$KONSOLE_DBUS_SESSION" ]
63 if [ `/usr/bin/whoami` != 'root' ]
65 alias ssh='~/.zsh.d/wrappers/ssh'
66 alias lftp='~/.zsh.d/wrappers/lftp'
67 alias sftp='~/.zsh.d/wrappers/sftp'
68 alias su='~/.zsh.d/wrappers/su'
69 alias telnet='~/.zsh.d/wrappers/telnet'
70 alias rlogin='~/.zsh.d/wrappers/rlogin'
71 alias rsh='~/.zsh.d/wrappers/rsh'