1
0
Fork 0

Escape '%' in path

pull/582/merge
Sorin Ionescu 10 years ago
parent c078c47c9d
commit 1bc4235a5e

@ -18,7 +18,7 @@ function prompt_damoekri_pwd {
_prompt_damoekri_pwd="$MATCH" _prompt_damoekri_pwd="$MATCH"
unset MATCH unset MATCH
else else
_prompt_damoekri_pwd="${${${(@j:/:M)${(@s:/:)pwd}##.#?}:h}%/}/${pwd:t}" _prompt_damoekri_pwd="${${${${(@j:/:M)${(@s:/:)pwd}##.#?}:h}%/}//\%/%%}/${${pwd:t}//\%/%%}"
fi fi
} }

Loading…
Cancel
Save