1
0
mirror of https://github.com/oh-my-fish/theme-bobthefish.git synced 2024-10-27 20:34:23 +00:00
oh-my-fish_theme-bobthefish/functions
Sean Patrick Hagen 9ca1260fc5
Rework __bobthefish_prompt_golang to be more like "rubies" prompt
First checks to see if `asdf` is installed. If it is, checks to see if either of
the plugins ( `golang` or `go-sdk` ) that install a version of Go have an
installed version. If they do, use that version.

If `asdf` isn't installed, check the `go.mod` file. If in a folder that has a
`go.mod` or a parent folder has a `go.mod`, check that file for the Go version.

Lastly, check if there's a `go` executable on the current path. If there isn't
set a flag so that the go version will be printed out in red rather than blue.
2022-06-17 11:24:14 -07:00
..
__bobthefish_colors.fish Fix k8s colors 2021-12-28 08:46:26 -05:00
__bobthefish_display_colors.fish Improved color scheme handling. 2018-03-25 08:58:10 -07:00
__bobthefish_glyphs.fish Add a $fish_private_mode indicator. 2020-08-28 07:00:15 -07:00
bobthefish_display_colors.fish Add k8s-context segment to bobthefish_display_colors 2021-12-28 08:46:33 -05:00
fish_greeting.fish move files to support fisher plugin standards () 2021-01-23 10:47:21 -08:00
fish_mode_prompt.fish move files to support fisher plugin standards () 2021-01-23 10:47:21 -08:00
fish_prompt.fish Rework __bobthefish_prompt_golang to be more like "rubies" prompt 2022-06-17 11:24:14 -07:00
fish_right_prompt.fish move files to support fisher plugin standards () 2021-01-23 10:47:21 -08:00
fish_title.fish Use more portable uname -n rather than hostname. 2021-11-05 10:16:55 -04:00