about summary refs log tree commit diff
path: root/Functions/Prompts
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Prompts')
-rw-r--r--Functions/Prompts/prompt_adam2_setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Prompts/prompt_adam2_setup b/Functions/Prompts/prompt_adam2_setup
index 6678a08d6..e59e13635 100644
--- a/Functions/Prompts/prompt_adam2_setup
+++ b/Functions/Prompts/prompt_adam2_setup
@@ -76,8 +76,8 @@ prompt_adam2_precmd () {
 }
 
 prompt_adam2_choose_prompt () {
-  local prompt_line_1a_width=${#${(S%%)prompt_line_1a//%\{*%\}}}
-  local prompt_line_1b_width=${#${(S%%)prompt_line_1b//%\{*%\}}}
+  local prompt_line_1a_width=${#${(S%%)prompt_line_1a//\%\{*%\}}}
+  local prompt_line_1b_width=${#${(S%%)prompt_line_1b//\%\{*%\}}}
 
   local prompt_padding_size=$(( COLUMNS
                                   - prompt_line_1a_width