diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2006-09-23 11:49:54 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:10 +0100 |
commit | 677e279659989347460af25ff52c7b3554efb843 (patch) | |
tree | 42eb491ca791fb1b4c74e6055f7a1f573b654bd7 /70_Aliases.zsh | |
parent | 2052b6ba7ecd7ba7a719a8826cdfc1a1a228cafc (diff) |
=?utf-8?q?Nombreuses=20mises=20=C3=A0=20jour,
=20en=20particulier=20les=20couleurs=20du=20prompt=20yAy?=
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.5.4.1"
This is a multi-part message in MIME format.
--------------1.5.4.1
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@273 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '70_Aliases.zsh')
-rw-r--r-- | 70_Aliases.zsh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/70_Aliases.zsh b/70_Aliases.zsh index 9293784..1f110dd 100644 --- a/70_Aliases.zsh +++ b/70_Aliases.zsh @@ -1,4 +1,3 @@ -#!/bin/zsh ## ## Part of configuration files for Zsh 4 ## by Hugues Hiegel <hugues@nullpart.net> @@ -10,6 +9,12 @@ ## alias a='alias' +a -g DEVNULL='>/dev/null 2>&1' +a -g NOTROOT='[ "`whoami`" != "root" ] && ' + +a -g ASCII='LC_ALL=fr_FR' +a -g UNICODE='LC_ALL=fr_FR.UTF-8' + a una=unalias a e='emacsclient' @@ -24,7 +29,7 @@ a mv='mv -i' autoload zmv a mmv='noglob zmv -W' -a apt-get='sudo apt-get' +NOTROOT which apt-get DEVNULL && a apt-get='sudo apt-get' a rt='find . -type f \( -name "*~" -o -name ".*~" -o -name "#*#" \) -exec rm -vf \{\} \;' @@ -55,3 +60,8 @@ a dosbox='dosbox -c "mount c \"`pwd`\"" -c "mount d /cdrom -t cdrom" -c "c:" ' a gnus='emacs -f gnus' #a make='make -j' + +## Suffixes Aliases +a -s patch=editdiff +a -s c=$EDITOR +a -s h=$EDITOR |