blob: d278bc14b0e3b96724d63382f56b3afaa37d8ee1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls -1v --color=auto'
alias dir='dir -v --color=auto'
alias vdir='vdir -v--color=auto'
for com in ${PATH//:/\/*grep }/*grep; do
if [ -f "$com" ]; then
com=`basename "$com"`
alias $com="$com --color=auto"
fi
done
else
alias ls='ls -1v'
alias dir='dir -v'
aliad vdir='vdir -v'
fi
# some more ls aliases
alias ll='ls -l'
alias la='ls -a'
alias l='ls -CF'
#alias rm='gvfs-trash'
alias ssh='ssh -XC'
alias sed='sed --follow-symlinks'
redshift='redshift -l39.9030:85.9979'
alias gtk-redshift="gtk-$redshift"
alias redshift="$redshift"
alias serva='ssh luke@servb.ath.cx -p3440'
alias tree='tree --charset utf8'
#alias phpdoctor='php /usr/gnu/www/0-other/phpdoctor-head/phpdoc.php'
alias lock="clear; away -C 'This terminal is locked'"
|