diff options
author | Kevin Ballard <kevin@sb.org> | 2012-06-21 20:32:07 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-06-24 14:04:43 -0700 |
commit | 529d410bec1f2d3c455840db7d52663d52b34469 (patch) | |
tree | 471165235af61d43caf1587c06b9598c15175982 /util.cpp | |
parent | 4d1c0eaa5244905c72ef29496af42e2dbd5111e6 (diff) |
Fix prompt_cwd on darwin systems when $PWD is "/private"
When $PWD is "/private", the prompt was printing "rivate". Skip the
"/private" stripping if there's nothing after it.
Prevent "/private" from being stripped anywhere but the beginning of the
PWD.
Fixes #173
Diffstat (limited to 'util.cpp')
0 files changed, 0 insertions, 0 deletions