aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/prompt_adam3_setup
diff options
context:
space:
mode:
authorDennis Eriksen <dennis@eriksen.im>2017-06-06 12:36:32 +0200
committerDennis Eriksen <dennis@eriksen.im>2017-06-06 12:36:32 +0200
commit4e94bada3ccd9667d75c513f0148517a9562efda (patch)
treea3324e282163d1a91051cb093245b7f073c6a7b1 /prompt_adam3_setup
parentbugfix (diff)
downloadadam3-4e94bada3ccd9667d75c513f0148517a9562efda.tar.gz
bugfix
Diffstat (limited to 'prompt_adam3_setup')
-rw-r--r--prompt_adam3_setup2
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