Justin Hileman
2dcfcab653
Fix invalid range in node segment
...
Fixes #326
2 years ago
Sean Patrick Hagen
4828218af5
Simplifying the prompt
2 years ago
Sean Patrick Hagen
d25d03ab4a
Better color setting for prompt
2 years ago
Sean Patrick Hagen
bb9c3f1946
Ensure we go up a directory each iteration
...
Whoops
2 years ago
Sean Patrick Hagen
92a2e46734
Update loop for finding go.mod
...
Also had to move `set -l real_pwd (__bobthefish_pwd)` above the prompts so that
`$real_pwd` is available inside the prompt function
2 years ago
Sean Patrick Hagen
fffbde266f
Better "find directory", copied from hg code
2 years ago
Sean Patrick Hagen
27f900076e
Some prompt cleanup
2 years ago
Sean Patrick Hagen
69e58a2f68
Better greping
2 years ago
Sean Patrick Hagen
20eb30bf4f
Removing some un-needed code
2 years ago
Sean Patrick Hagen
64a6f8ee18
More logic cleanup/fixing
2 years ago
Sean Patrick Hagen
1663a155f8
More logic fixing
2 years ago
Sean Patrick Hagen
4b3197d1b0
Sort out the logic a bit more
2 years ago
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.
2 years ago
Sean Patrick Hagen
1434509569
Add Go prompt
2 years ago
Shane Mook
14a6f2b317
Update ruby asdf support for output of asdf v0.8.1 ( #305 )
...
- asdf not output three columns for for `asdf current version`, the first being the plugin name
- Update the provenance format to match
2 years ago
Hans Larsen
1eaed8c399
Add more options to conditionally show node version ( #315 )
2 years ago
Justin Hileman
e69150081b
Add k8s-context segment to bobthefish_display_colors
3 years ago
Victor Bersy
2c080ceced
Fix k8s colors
3 years ago
Justin Hileman
332f23abd7
Use more portable `uname -n` rather than `hostname`.
...
Fixes #312
3 years ago
Pavel Zaikin
3bd40175eb
show git tags if any
...
Without change tags not shown (because return happen earlier).
With change tags shown if exists.
3 years ago
Paulo Flabiano Smorigo
1c1c2cfc42
Merge branch 'master' into screen
3 years ago
Josselin Auguste
69a0191e94
Add gruvbox-light screenshot
3 years ago
Josselin Auguste
12d5be5c86
Add gruvbox light theme
3 years ago
Nathan Gilbert
626bd39b00
update check for nvm to allow for functions
3 years ago
Justin Hileman
dcb5c9ea14
Namespace .md reference links
...
(to unbreak Themes.md in the OMF repo)
3 years ago
Justin Hileman
2bd87a96b4
Bump.
3 years ago
Justin Hileman
27c4df467d
Minor code style cleanup.
3 years ago
Wes Baker
af5aac28c4
Add FNM as an alternative to NVM ( #292 )
...
* 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
3 years ago
Nathan Gilbert
954fbc961b
move files to support fisher plugin standards ( #293 )
3 years ago
Chandler Carruth
25e93443bb
Add a colorscheme inspired by the Jellybeans colorscheme for Vim.
...
All the colors were extracted from the Vim theme here:
https://github.com/nanotech/jellybeans.vim
I've tried to arrange things in a way that uses well associated colors
(green, red, yellow for working tree state, etc) and provides reasonably
high constrast in all cases. That said, I'm not an artist or design
person, so totally open to suggestions here.
4 years ago
Justin Hileman
12b829e0bf
Fix "HEAD is not a symbolic ref" error when HEAD is a tag.
4 years ago
Justin Hileman
f3ec01dd10
Merge pull request #267 from WiredSharp/feature/timezone_defaulting
...
use system timezone as default
4 years ago
WiredSharp
35c0a1b9b0
use system timezone as default
4 years ago
Darren Kidd
57d172882f
Support for Git default branches other than master ( #276 )
...
* 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
4 years ago
Darren Kidd
64366ed658
Fix spacing in AWS vault test segments
4 years ago
Darren Kidd
b5d7614aa0
Update colors documentation - missed this last time
4 years ago
Darren Kidd
9ea42689a2
Change text colour when the session has expired
4 years ago
Darren Kidd
5f7292092e
Anything greater than an hour now in XhYm format
4 years ago
Darren Kidd
dfec8fa044
Remove unused glyph
4 years ago
Darren Kidd
cb821bb737
Added in custom colours
...
* Also added in a placeholder to bobthefish_display_colors()
so I can check theming easily.
4 years ago
Darren Kidd
bc94c77cbd
Create new segment for AWS Vault profile
...
* 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.
4 years ago
Florian Meinicke
140441fe36
Remove trailing whitespaces
4 years ago
Florian Meinicke
ba53918dc2
Fix nord colorscheme for exit, su, jobs segments
4 years ago
Paulo Flabiano Smorigo
50708c4f88
Merge branch 'master' into screen
...
Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@gmail.com>
4 years ago
Paulo Flabiano Smorigo
30b289cd5a
screen: making it opt-in (verbose off), example and using string command
...
Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@gmail.com>
4 years ago
Paulo Flabiano Smorigo
cde6108d7b
Display screen session if you set theme_display_screen to yes
...
Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@gmail.com>
4 years ago
Justin Hileman
df1333899d
Update README with private mode flag.
4 years ago
Justin Hileman
166fe8a511
Include nord color scheme in bobthefish_display_colors.
4 years ago
Justin Hileman
bd9d0e0f31
Add a $fish_private_mode indicator.
...
Fixes #263
4 years ago
Thibault Lacroux
a2ad38aa05
Do not display Kubernetes context and namespace if it's the defaults ones
4 years ago