Skip to content

Commit

Permalink
[Fix sorin-ionescu#303] Remove extra '/' in sorin theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorin Ionescu committed Sep 28, 2012
1 parent 94c1648 commit 8599a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/prompt/functions/prompt_sorin_setup
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8599a79

Please sign in to comment.