diff --git a/ui.go b/ui.go index 7dc753b..87cabcc 100644 --- a/ui.go +++ b/ui.go @@ -560,7 +560,7 @@ func (ui *ui) drawPromptLine(nav *nav) { pwd := nav.currDir().path nohome := strings.TrimPrefix(pwd, gUser.HomeDir) if len(nohome) < len(pwd) { - pwd = "~/" + nohome + pwd = "~/" + nohome } pwd = filepath.Clean(pwd)