diff --git a/modules/prompt/functions/promptpwd b/modules/prompt/functions/promptpwd index 8a1b9094..b8fcc0cb 100644 --- a/modules/prompt/functions/promptpwd +++ b/modules/prompt/functions/promptpwd @@ -1,6 +1,8 @@ # prompt setup function common to many prompts # moved to external function to reduce code redundancy +setopt localoptions extendedglob + local current_pwd="${PWD/#$HOME/~}" local ret_directory