mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Ensure we go up a directory each iteration
Whoops
This commit is contained in:
parent
92a2e46734
commit
bb9c3f1946
@ -864,6 +864,8 @@ function __bobthefish_prompt_golang -S -d 'Display current Go information'
|
||||
|
||||
[ "$d" = "/" ]
|
||||
and return
|
||||
|
||||
set d (__bobthefish_dirname $d)
|
||||
end
|
||||
|
||||
# no go.mod, not in a go project, don't display the prompt
|
||||
|
Loading…
Reference in New Issue
Block a user