diff options
author | Dennis Eriksen <dennis@eriksen.im> | 2017-06-06 12:36:32 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis@eriksen.im> | 2017-06-06 12:36:32 +0200 |
commit | 4e94bada3ccd9667d75c513f0148517a9562efda (patch) | |
tree | a3324e282163d1a91051cb093245b7f073c6a7b1 /prompt_adam3_setup | |
parent | bugfix (diff) | |
download | adam3-4e94bada3ccd9667d75c513f0148517a9562efda.tar.gz |
bugfix
Diffstat (limited to 'prompt_adam3_setup')
-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 |