little bugfix
Jes Olson j3s@c3f.net
Sat, 04 Mar 2023 17:11:22 -0800
2 files changed,
1 insertions(+),
1 deletions(-)
M
bin/prompt.go
→
bin/prompt.go
@@ -26,7 +26,7 @@ gitRoot := gitRoot()
if gitRoot == os.Getenv("HOME") { promptRoot = "~" } else { - promptRoot = filepath.Base(promptRoot) + promptRoot = filepath.Base(gitRoot) } // subtract the git toplevel "/home/j3s" // from the cwd "/home/j3s/code/nongitdir"