diff --git a/.zshrc b/.zshrc index 59e45bc..e83b362 100644 --- a/.zshrc +++ b/.zshrc @@ -31,7 +31,10 @@ autoload -Uz compinit && compinit zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' # Set prompt -PROMPT="%B%F{198}%n%F{015}@%F{014}%m%F{015}:%F{198}%~%F{015}> %b%f" +zmodload zsh/mathfunc +#width=$((int( $COLUMNS / 4 ))) +width=42 +PROMPT="%B%F{198}%n%F{015}@%F{014}%m%F{015}:%F{198}%${width}<..<%~%F{015}> %b%f" #autoload -Uz promptinit && promptinit # History settings