Browse Source

Ensure extendedglob is set in promptpwd

master
Kaleb Elwert 7 years ago
parent
commit
8655cd543b
  1. 2
      modules/prompt/functions/promptpwd

2
modules/prompt/functions/promptpwd

@ -1,6 +1,8 @@ @@ -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

Loading…
Cancel
Save