mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 08:08:32 +01:00
zsh ext
This commit is contained in:
8
zshrc
8
zshrc
@@ -6,8 +6,8 @@ fi
|
||||
|
||||
#### ZSH-INTERNAL ####
|
||||
### HISTORY ###
|
||||
STSIZE=2000
|
||||
SAVEHIST=2000
|
||||
STSIZE=20000
|
||||
SAVEHIST=20000
|
||||
HISTFILE=~/.config/zshhistory.log
|
||||
|
||||
### COLOR STDERR ###
|
||||
@@ -33,6 +33,10 @@ 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
|
||||
fi
|
||||
|
||||
### STYLE ###
|
||||
zstyle ':completion:*:default' list-prompt '%p'
|
||||
zstyle ':completion:*' use-cache yes; zstyle ':completion:*' cache-path #~/.zsh/cache (~/.zsh muss existieren)
|
||||
|
||||
Reference in New Issue
Block a user