From 9e24c2142ea781a487b4147832a9fc5541c789f8 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 30 May 2017 18:37:32 +0200 Subject: [PATCH] update to promt --- zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 68a0f90..0fbccf3 100644 --- a/zshrc +++ b/zshrc @@ -31,12 +31,13 @@ fi setopt promptsubst CMD_START=$'%F{$MAIN_PROMT_COLOR}--->%f ' PS1=$'%F{$USER_COLOR}%m%f%F{red}:%f%F{cyan}%~%f\n'$CMD_START #promt -PS1=%F{$MAIN_PROMT_COLOR}$'${(r:$COLUMNS::\u2500:)}'%f$PS1 if [[ ( $USER != 'sheppy') && ( $USER != 'ik15ydit') && ( $USER != 'root' ) ]]; then - PS1='%n'$PS1 + PS1='%F{cyan}%n%f%F{red}@%f'$PS1 fi +PS1=%F{$MAIN_PROMT_COLOR}$'${(r:$COLUMNS::\u2500:)}'%f$PS1 + ### STYLE ### zstyle ':completion:*:default' list-prompt '%p' zstyle ':completion:*' use-cache yes; zstyle ':completion:*' cache-path #~/.zsh/cache (~/.zsh muss existieren)