summaryrefslogtreecommitdiff
path: root/01_Aliases.zsh
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2005-06-16 13:00:58 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:05 +0100
commitd5c4949d114b8426e9cff64d6865d1730e94b026 (patch)
tree0542406557c34c6e4374394e6644b5475661113a /01_Aliases.zsh
parente9a17bd9852911b02e5a40544aacdb674c103d92 (diff)
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@116 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '01_Aliases.zsh')
-rw-r--r--01_Aliases.zsh48
1 files changed, 48 insertions, 0 deletions
diff --git a/01_Aliases.zsh b/01_Aliases.zsh
new file mode 100644
index 0000000..e8d62d6
--- /dev/null
+++ b/01_Aliases.zsh
@@ -0,0 +1,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'
+
+if [ -f $ZDOTDIR/*_Aliases.`hostname` ]
+then
+ source $ZDOTDIR/*_Aliases.`hostname`
+fi