diff --git a/liquidprompt b/liquidprompt index e54f3bb..60b507c 100755 --- a/liquidprompt +++ b/liquidprompt @@ -586,9 +586,7 @@ _lp_shorten_path() if $_LP_SHELL_bash; then LP_PWD="${ret//\\/\\\\}" else # zsh - #LP_PWD="${ret//%/%%}" # This doesn't work :( zsh bug? - p='%' - LP_PWD="${ret//$p/%%}" + LP_PWD="${ret//\%/%%}" fi }