Why:
1. `$_` is marked as deprecated
https://fishshell.com/docs/current/language.html#envvar-_
2. `$_` contains wrong process name in cases like this one:
```fish
sleep 1000 # `sleep` is the process, now press Ctrl-Z to suspend
fg # unsuspend it, now `fg` is shown as the process
```
`status current-command` will show `sleep` instead, which makes more
sense.
A refactor changed this block from a `set git_dir $PWD` to
`set git_dir $real_pwd`, but as `real_pwd` is a "static" variable and
not dynamically computed, this breaks within the `pushd` / `popd` flow.
Instead of using `$real_pwd`, we need to compute the *current* directory
by calling `__bobthefish_pwd` again.
Fixes#249.
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.
* Add FNM as an alternative to NVM
* Made the __bobthefish_prompt_nvm generic for nvm and fnm
* Hide errors on node_manager current
* Check for color_nvm and set color_node based on that
* Make main behave like master branch
* Check list of default git branches
* Use new theme var with better name
* Update documentation around git default branch names
* Tracks the session expiration information and adds this to
the segment as well (if available - which it should be).
* Using basic blue/white colours at the moment.
* Added doco including link to AWS Vault repo.