diff options
-rw-r--r-- | 12_Prompts.zsh | 2 | ||||
-rw-r--r-- | 50_Aliases.zsh | 4 | ||||
-rw-r--r-- | user:hugues/Aliases.zsh | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 8aa70c6..bbb5e11 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -20,7 +20,7 @@ else # That's so good, use it ! :-) prompt_colors[generic]=${PS1_USER_SSH:-$PS1_USER} fi - if ( [ "$TERM" = "screen" ] ) + if ( echo "$TERM" | grep "^screen.*$" >/dev/null ) then # Are we under a screen session ? prompt_colors[generic]=${PS1_USER_SCR:-$PS1_USER} diff --git a/50_Aliases.zsh b/50_Aliases.zsh index 4dd4cf9..f284924 100644 --- a/50_Aliases.zsh +++ b/50_Aliases.zsh @@ -7,3 +7,7 @@ ## You are encouraged to use, modify, and redistribute ## these files with or without this notice. ## + +alias a=alias +a una=unalias + diff --git a/user:hugues/Aliases.zsh b/user:hugues/Aliases.zsh index 7e0b4b0..2e696a4 100644 --- a/user:hugues/Aliases.zsh +++ b/user:hugues/Aliases.zsh @@ -7,9 +7,6 @@ ## You are encouraged to use, modify, and redistribute ## these files with or without this notice. ## -alias a=alias -a una=unalias - a -g ¬ISO='LC_ALL=fr_FR' a -g ¬UTF='LC_ALL=fr_FR.UTF-8' |