diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2006-06-14 22:29:46 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:08 +0100 |
commit | 2455ce7a07fa4dcc93945afbf75af4529863eda6 (patch) | |
tree | 103b79a712ef9c30e83b80f972ebcfbf7725dc1e | |
parent | 50ef890cce93dc63c59ed0e07895595304d44d8f (diff) |
Nettoyage
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@248 a0e5b806-a6f9-0310-978d-cbce73f8a913
-rw-r--r-- | .zlogin | 12 | ||||
-rw-r--r-- | 20_Variables.zsh | 2 |
2 files changed, 7 insertions, 7 deletions
@@ -1,12 +1,12 @@ -[ which calendar ] && \ -for i in {1..$COLUMNS} ; do echo -n "_" ; done \ -echo \ -calendar -A0 | sed "s/^\(......\*.*\)/[1m\1[0m/" \ -for i in {1..$COLUMNS} ; do echo -n "_" ; done \ +which calendar 2>&1 >/dev/null && \ +for i in {1..$COLUMNS} ; do echo -n "_" ; done &&\ +echo &&\ +calendar -A0 | sed "s/^\(......\*.*\)/[1m\1[0m/" &&\ +for i in {1..$COLUMNS} ; do echo -n "_" ; done &&\ echo "[0m" [ -f $ZDOTDIR/.keychain ] && source $ZDOTDIR/.keychain -[ which keychain ] && keychain --quiet --stop others --inherit any +which keychain 2>&1 >/dev/null && keychain --quiet --stop others --inherit any #keychain --quiet --quick id_dsa #keychain --quiet --quick 593F1F92 diff --git a/20_Variables.zsh b/20_Variables.zsh index 881285b..dc6266a 100644 --- a/20_Variables.zsh +++ b/20_Variables.zsh @@ -22,7 +22,7 @@ export PAGER=less ## Quelle commande utiliser par défaut ? export NULLCMD=cat -[ `which dircolors` ] && eval $(dircolors ~/.dir_colors 2>&-) +which dircolors 2>&1 >/dev/null && eval $(dircolors ~/.dir_colors 2>&-) export TZ="Europe/Paris" export TIME_STYLE="+%Y-%b-%d %H:%M" |