mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 23:08:00 +00:00
[Fix #303] Remove extra '/' in sorin theme
This commit is contained in:
parent
be0e4245a6
commit
eb93677e4a
@ -18,7 +18,7 @@ function prompt_sorin_pwd {
|
|||||||
_prompt_sorin_pwd="$MATCH"
|
_prompt_sorin_pwd="$MATCH"
|
||||||
unset MATCH
|
unset MATCH
|
||||||
else
|
else
|
||||||
_prompt_sorin_pwd="${${(@j:/:M)${(@s:/:)pwd}##.#?}:h}/${pwd:t}"
|
_prompt_sorin_pwd="${${${(@j:/:M)${(@s:/:)pwd}##.#?}:h}%/}/${pwd:t}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user