5 alias ls="ls --color=auto"
11 if [ -f /etc/debian_version ]
14 alias search="apt-cache search"
15 alias show="apt-cache show"
16 alias policy="apt-cache policy"
18 alias update="sudo apt-get update"
19 alias install="sudo apt-get install"
20 alias upgrade="sudo apt-get upgrade"
21 alias dist-upgrade="sudo apt-get dist-upgrade"
22 alias remove="sudo apt-get remove"
25 if [ -f /etc/SuSE-release ]
27 if [ -x /usr/bin/smart ]
29 # aliases for smart, if it's present
30 alias search="smart search"
31 alias show="smart info"
32 alias update="sudo smart update"
33 alias install="sudo smart install"
34 alias remove="sudo smart remove"
35 alias upgrade="sudo smart upgrade"
38 alias search="zypper search -d"
39 alias show="zypper info"
40 alias update="sudo zypper refresh"
41 alias install="sudo zypper install"
42 alias remove="sudo zypper remove"
44 alias upgrade="sudo zypper update"
48 # to avoid the cd in mc history :
49 setopt histignorespace
50 alias cd=' builtin cd'
52 alias scr='screen -rd'
54 # Konsole tab renaming. Courtesy of Sebastian Kuegler
55 # http://vizzzion.org/?blogentry=737
56 if [ "$KONSOLE_DCOP_SESSION" ]
58 if [ `/usr/bin/whoami` != 'root' ]
60 alias ssh='~/.zsh.d/wrappers/ssh'
61 alias lftp='~/.zsh.d/wrappers/lftp'
62 alias sftp='~/.zsh.d/wrappers/sftp'
63 alias su='~/.zsh.d/wrappers/su'
64 alias telnet='~/.zsh.d/wrappers/telnet'
65 alias rlogin='~/.zsh.d/wrappers/rlogin'
66 alias rsh='~/.zsh.d/wrappers/rsh'