Ensure extendedglob is set in promptpwd
This commit is contained in:
parent
60c433d4ce
commit
8655cd543b
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
# prompt setup function common to many prompts
|
# prompt setup function common to many prompts
|
||||||
# moved to external function to reduce code redundancy
|
# moved to external function to reduce code redundancy
|
||||||
|
|
||||||
|
setopt localoptions extendedglob
|
||||||
|
|
||||||
local current_pwd="${PWD/#$HOME/~}"
|
local current_pwd="${PWD/#$HOME/~}"
|
||||||
local ret_directory
|
local ret_directory
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue