myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

commit ff33d2c22725f4b5cfc2453ed0e77e4a305e1e26
parent 575205b05ff01ae995e7e3f9eca027fcb881b4ae
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Mon, 30 Mar 2015 02:57:56 +0200

change char for restricted sessions

Diffstat:
zsh/zshrc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/zsh/zshrc b/zsh/zshrc @@ -25,6 +25,8 @@ CYAN=$'%{\e[36m%}' COLOR1="$GREEN" COLOR2="$RED" +COLORCHAR="$RED" +CHAR=">" if [ -f ~/.zsh/ps1 ] then @@ -32,7 +34,7 @@ then fi resetps1() { -PS1=$COLOR1$'%m%{\e[0;1m%}:'$COLOR2$'%B%~%{\e[0;1m%}$%b ' +PS1=$COLOR1$'%m%{\e[0;1m%}:'$COLOR2$'%B%~%{\e[0;1m%}'$COLORCHAR$''$CHAR$'%{\e[0;1m%}%b ' } resetps1