Browse Source

[Fix #303] Remove extra '/' in sorin theme

master
Sorin Ionescu 12 years ago
parent
commit
eb93677e4a
  1. 2
      modules/prompt/functions/prompt_sorin_setup

2
modules/prompt/functions/prompt_sorin_setup

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

Loading…
Cancel
Save