diff options
Diffstat (limited to '10_Environment.zsh')
-rw-r--r-- | 10_Environment.zsh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/10_Environment.zsh b/10_Environment.zsh index 99b0d19..a64c5e3 100644 --- a/10_Environment.zsh +++ b/10_Environment.zsh @@ -40,6 +40,7 @@ _C="$_c%}" PS1_ROOT=${PS1_ROOT:-$color[red]} PS1_USER=${PS1_USER:-$color[blue]} +PS1_YEAH="38;5;82" ## Variables d'environnement ``classiques'' # @@ -61,12 +62,18 @@ typeset -gU PATH MANPATH INFOPATH PKG_CONFIG_PATH LD_LIBRARY_PATH ## Gestion de l'historique # Voir le fichier d'Options pour plus de contrôle là-dessus -HISTFILE=$ZDOTDIR/.history.$USER.$HOSTNAME # Pour éviter les conflits de conf +HISTFILE=$ZDOTDIR/.history.$USER.$HOST # Pour éviter les conflits de conf HISTSIZE=42000 SAVEHIST=42000 export GPG_TTY=`tty` +# YeahConsole.. +if ( ps fx | grep $$ -B1 | grep -q yeahconsole ) +then + YEAHCONSOLE=true +fi + # Display guess CURRENT_DISPLAY=$(finger 2>&- | tail -n+2 | grep -E $USER'[[:blank:]]+.*[[:blank:]]+tty[0-9][[:blank:]]+($DISPLAY)' | head -n1 | cut -d'(' -f2 | cut -d')' -f1) if [ "$DISPLAY" = "" -a "$CURRENT_DISPLAY" = "" ] @@ -80,3 +87,4 @@ then fi fi +export COLUMNS |