diff options
-rw-r--r-- | prompt_adam3_setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt_adam3_setup b/prompt_adam3_setup index 63d218a..ddfd4c1 100644 --- a/prompt_adam3_setup +++ b/prompt_adam3_setup @@ -66,7 +66,7 @@ prompt_adam3_precmd () { PS1="${prompt_adam3_PS1}" local prompt_adam3_PS1_length="${#${(S%%)prompt_adam3_PS1//(\%([KF1]|)\{*\}|\%[Bbkf])}}" - local prompt_adam3_PS1_etc=$(print -P "${(S%%)prompt_adam3_PS1//(\%([KF1]|)\{*\}|\%[Bbkf])}%~") + local prompt_adam3_PS1_etc=$(print -P "${(S%%)prompt_adam3_PS1//(\%([KF1]|)\{*\}|\%[Bbkf])}") local prompt_adam3_PS1_etc_length="${#prompt_adam3_PS1_etc}" # Changing the prompt based on the length of the prompt, should happen based |