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
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
Justin Hileman
870ab7c9be
Fix some edge cases when nerd fonts are on and powerline fonts are explicitly disabled.
4 years ago
Duke Jones
e24516b39b
Add theme_display_nix variable to other places.
4 years ago
Hans Larsen
aafed7cb24
Add nix prompt, glyph, and colors
4 years ago
Justin Hileman
1f24d5f217
Better ruby segment output when adsf is installed but not configured.
...
Previously it would add `No` as the ruby version, which was factually correct but not at all what we were looking for. This omits the ruby segment entirely if the adsf plugin for ruby is not installed, or if there is no current ruby version specified.
4 years ago
Justin Hileman
7c2d90152e
Handle whitespace in asdf system ruby detection.
...
Fixes #250
4 years ago
Justin Hileman
6e75f31c3f
Add timezone support to right prompt.
...
Allow overriding the right prompt datestamp timezone:
```
set -g theme_date_timezone America/Los_Angeles
```
4 years ago
Justin Hileman
3b37ec9f0b
Make bobthefish_display_colors current color theme more clear
...
Fixes #247
5 years ago
Justin Hileman
e4c6a5c434
Fix key binding mode indicator in newer Fish
...
Unfortunately this means we can't have a pretty arrow between the binding mode indicator and the rest of the prompt, but it's better than never updating the indicator :-/
Fixes #248
5 years ago
Justin Hileman
9dd917535a
Escape home directory used in regex, too!
5 years ago
Justin Hileman
0c3ae9f932
Fall back to unescaped strings in older Fish
...
Because that's a lot better than erroring out :)
5 years ago
Justin Hileman
9032cf426b
Merge pull request #244 from epmoyer/escape_regex
...
Escape project_root_dir before using it in regex
5 years ago
Eric Moyer
46a89abb99
escape project_root_dir before using in regex
5 years ago
Justin Hileman
dbe3009b02
Merge pull request #214 from noseglid/master
...
Simplify kubernetes context fetching
5 years ago
Alexander Olsson
740150da19
Make displaying the k8s namespace optional
...
Invoking the `kubectl` command can be expensive, and since there's not a
lot of time to play with when rendering the prompt without it feeling
slugging, make the namespace fetching optional.
5 years ago
Justin Hileman
5ed60e09ae
Merge pull request #228 from marcplustwo/master
...
Add nord color scheme
5 years ago
Marc Radau
7d6f9634ac
Add screenshot to README.md
5 years ago
Marc
10b19564ae
fix indents, color contrast
5 years ago
Justin Hileman
6ccde62d01
Merge pull request #233 from morozov/user-info-first
...
In the prompt, show user info before everything else
5 years ago
Sergei Morozov
82a0a44cdc
In the prompt, show user info before everything else
5 years ago
Marc
0d2525e923
fix background job colors
5 years ago
marcplustwo
9c95244b42
add nord color scheme
5 years ago
Justin Hileman
f3301c2e2c
Exclude autojump from the background job count
...
Apparently it is super annoying and not really useful, since it executes in the background every time you change directories, so there is always a "background job" right when the prompt is rendered.
This relies on the AUTOJUMP_SOURCED environment variable to opt users into this behavior, since it would be a bit slower for every user every time we render the prompt.
Fixes #169
5 years ago
Justin Hileman
144eed0acc
Merge pull request #216 from FMeinicke/master
...
Add option to display sudo-username.
5 years ago
Florian Meinicke
5902e1a49d
Don't start a new segment if either `display_user' or `display_sudo_user' is set
5 years ago
Florian Meinicke
108b6a45f6
Update condition for showing an extra space
5 years ago
Justin Hileman
8e6b82e450
Merge pull request #220 from LucaFilipozzi/master
...
improve detection of superuser on macOS (fixes #218 )
5 years ago
Luca Filipozzi
9cb593e4fe
Update fish_prompt.fish
5 years ago
Florian Meinicke
981eb1a632
Add option to display sudo-username.
5 years ago
Justin Hileman
99b48d565c
Show the current theme color scheme in bobthefish_display_colors
...
Fixes #209
5 years ago
Justin Hileman
4e05b9d494
Show username when in a sudo shell
...
Fixes #170
5 years ago
Justin Hileman
eb533e75bd
Merge pull request #215 from FMeinicke/master
...
Use `command uptime` to avoid coloured output when using grc plugin
5 years ago
Florian Meinicke
97eebdcdcd
Use `command uptime` to avoid coloured output when using grc plugin
5 years ago
Justin Hileman
94cb2bb8f0
Merge pull request #213 from FMeinicke/master
...
Add option to display the number of background jobs
5 years ago