diff options
-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" |