summaryrefslogtreecommitdiff
path: root/01_Aliases.zsh
blob: 5b083372130bf69132be811c0dc76bbd8da82328 (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
37
38
39
40
41
42
43
44
45
46
47
48
alias a='alias'

a una=unalias

a e='emacs'
a ne='emacs -nw'

a close='eject -t'

a rm='rm -i'
a mv='mv -i'
autoload zmv
a mmv='noglob zmv -W'

a apt-get='sudo apt-get'

a rt='find . -type f \( -name "*~" -o -name ".*~" -o -name "#*#" \) -exec rm -vf \{\} \;'

a eg=egrep

a hg='< $HISTFILE egrep'
a lg='ls -lap | egrep'

a s='cd ..' 
a so='cd ${OLDPWD}'

a x=exit

a ls='ls -F --color=always'
a l='ls -lh'
a ll='ls -l'
a la='ls -la'
a lc='ls -c'
a lm='ls -ma'
a lc1='\ls -c1'

a definition='dict -h dict.org'
a traduction='dict -h localhost -P-'

a dosbox='dosbox -c "mount c \"`pwd`\"" -c "mount d /cdrom -t cdrom" -c "c:" '
a gnus='emacs -f gnus'

#a make='make -j'

for local_aliases in $(find $ZDOTDIR -name "*_Aliases.`hostname`")
do
	source $local_aliases
done