From 8655cd543b517f66e31f1c37e20f5304d7f0fed7 Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Thu, 13 Apr 2017 01:16:44 -0700 Subject: [PATCH] Ensure extendedglob is set in promptpwd --- modules/prompt/functions/promptpwd | 2 ++ 1 file changed, 2 insertions(+) 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