Commit Graph

96 Commits

Author SHA1 Message Date
Justin Hileman
6b8fe17b7e
Merge branch 'master' into color-scheme-catppuccin 2024-03-09 10:25:49 -05:00
Justin Hileman
45cd2d790a
Merge pull request #280 from josselinauguste/master
Add gruvbox light theme
2024-03-09 10:11:10 -05:00
Justin Hileman
4beb1bc3b4 Update README config example. 2024-03-05 18:01:34 -05:00
Justin Hileman
2b060736b3 Update configuration option documentation.
- Clean up README formatting.
- Move all configuration documentation from functions into the README.
- Add missing documentation for a bunch of other options.

Fixes #337
2024-03-05 17:57:16 -05:00
Justin Hileman
1a74ffd598 Update config path examples. 2024-03-05 15:55:21 -05:00
Justin Hileman
25b9c582c9 Allow hiding project parent paths.
Set `theme_show_project_parent` to `no` to suppress the parent directory and path entirely when inside a Git or Mercurial project.

Fixes #358
2024-03-05 15:20:50 -05:00
Maximilian Schambach
1ec3bba060 Remove old option from readme 2024-02-12 10:43:14 +01:00
Maximilian Schambach
01c546af51 Update virtualenv python version prompt 2024-02-12 10:42:09 +01:00
Maximilian Schambach
7ff4d6a3b3 Add option to hide python version 2024-02-09 12:54:58 +01:00
Clover
f3803bb20c
Add README entry for Catppuccin color schemes 2024-01-04 22:39:07 +01:00
Hans Larsen
1eaed8c399
Add more options to conditionally show node version (#315) 2022-02-03 02:15:51 -05:00
Josselin Auguste
69a0191e94 Add gruvbox-light screenshot 2021-01-28 11:33:00 +01:00
Josselin Auguste
12d5be5c86 Add gruvbox light theme 2021-01-28 11:30:06 +01:00
Justin Hileman
dcb5c9ea14 Namespace .md reference links
(to unbreak Themes.md in the OMF repo)
2021-01-24 14:31:28 -08:00
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
2021-01-24 14:14:30 -08:00
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
2020-10-21 08:54:03 -07:00
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.
2020-10-16 15:09:27 -07:00
Justin Hileman
df1333899d Update README with private mode flag. 2020-08-28 07:07:29 -07:00
Duke Jones
e24516b39b Add theme_display_nix variable to other places. 2020-05-02 08:55:27 -07:00
Justin Hileman
6e75f31c3f Add timezone support to right prompt.
Allow overriding the right prompt datestamp timezone:

```
set -g theme_date_timezone America/Los_Angeles
```
2020-04-21 13:54:33 -07:00
Justin Hileman
dbe3009b02
Merge pull request #214 from noseglid/master
Simplify kubernetes context fetching
2020-02-29 15:02:04 -08:00
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.
2020-02-29 18:45:26 +01:00
Marc Radau
7d6f9634ac
Add screenshot to README.md 2020-01-21 15:11:02 +01:00
marcplustwo
9c95244b42 add nord color scheme 2019-12-03 17:59:18 +01:00
Florian Meinicke
981eb1a632 Add option to display sudo-username. 2019-10-21 18:51:56 +02:00
Florian Meinicke
ce7e96fba5 Change option name to theme_show_jobs_verbose 2019-10-11 16:51:50 +02:00
Florian Meinicke
a3d43d35bd Add option to display the number of background jobs 2019-10-10 22:19:14 +02:00
Justin Hileman
cf096612c8 Stop truncating git branch names by default.
I used to think this was awesome, but have come around. The option is still there if you want it. Set `theme_use_abbreviated_branch_name` to `yes` :)
2019-10-02 14:51:34 -07:00
genofire
121ea4bd1a
fix(doc): README options 2019-09-20 23:22:55 +02:00
Alessandro Fazzi
1abb331c60 Add NVM prompt (#207)
* Add NVM prompt

* Do not show prompt when `system` node is used

* Change the glyph used for nvm prompt
2019-07-01 07:40:53 -07:00
Thomas Flori
b9eb494dbf allow custom prompt in new line 2019-03-26 08:12:25 -07:00
Justin Hileman
da6379491f Add theme_display_git_stashed_verbose to docs. 2019-03-16 15:36:40 -07:00
Marvin Steadfast
38c9d1f7ee Adding dracula theme 2018-05-11 09:53:26 +02:00
Justin Hileman
67bc90d291 Disable Kubernetes segment by default
It turns out lots of people have a default kube context because they used Google Cloud SDK or something once. It doesn't really hurt to leave it there, but showing all these (reeeallllly long) kube context segments is confusing people.

If you really want to show your kube context, set `theme_display_k8s_context` to `yes`.

See #141, #147, #153, etc.
2018-05-04 05:46:20 -07:00
Philip Schaten
f66bee227a Allow three values for theme_display_user. 2018-03-25 09:01:22 -07:00
Philip Schaten
89ca08abc4 theme_display_ssh defaults to no 2018-03-25 09:01:22 -07:00
Philip Schaten
2428af06aa theme_display_ssh - switch added 2018-03-25 09:01:22 -07:00
Justin Hileman
5acaae3f62 Improved color scheme handling.
- Improve performance significantly in the base case (i.e. when git or something isn't slowing it down anyway).
- Make `bobthefish_display_colors` a non-underscore function. It's meant for public use :)
- Support previewing _different_ color schemes via `bobthefish_display_colors`. Pass a color scheme name, or `--all` to preview everything.
- Make color overrides a bit fishier: use a `bobthefish_colors` function to override color schemes, rather than declaring a whole pile of variables.
- Add support for a base color scheme in `bobthefish_colors`, in case you don't want to override everything.
- Add a deprecation notice with upgrade instructions for users with old-style custom color schemes.
2018-03-25 08:58:10 -07:00
Justin Hileman
4ac7f3c5d7 Switch "hide git master branch" logic from opt-in to opt-out
This is a better default.
2018-03-21 06:38:08 -07:00
Philip Fulgham
180f251189 Add verbose option for Git dirty state (#133)
* Add verbose option for Git dirty state

* Simplify git dirty verbose setting check
2018-02-20 22:25:19 -08:00
Peter Tellgren
728c52d6a3 Add Kubernetes context flag and default value to README 2018-01-19 10:17:07 -08:00
Justin Hileman
d0a6e45403 Allow disabling the "dirty" check for git.
This gets suuuuper slow for big repos. Support disabling it globally, via `theme_display_git_dirty`, or per-repo, using the `bash.showDirtyState` git config.
2018-01-10 13:43:38 -08:00
Ben
444b9a4827 Add support for choosing to show user and/or hostname in prompt (#71)
Add support for choosing to show user and/or hostname in prompt
2017-12-19 10:38:15 -05:00
Justin Hileman
500fc527a7 Add theme_newline_cursor = clean to docs. 2017-12-19 07:10:48 -08:00
Justin Hileman
162062b3ac Clean up theme_vcs_ignore_paths implementation.
- realpath isn't necessary for $PWD
- match subdirectories of all ignore paths (otherwise the vcs segment is missing for the directory itself, but shows in subdirectories, which is weird)
- check whether $theme_vsc_ignore_paths is set to save a command substitution
2017-12-19 06:58:56 -08:00
Jesper Derehag
2673d2c39d Add support for ignoring VCS directories
Signed-off-by: Jesper Derehag <jderehag@hotmail.com>
2017-12-19 09:41:12 -05:00
Cameron Moon
ee8e150424 rename flag from 'force' to 'yes' 2017-08-08 12:46:23 +10:00
Cameron Moon
22114be816 Add docs for theme_display_vi 2017-08-08 12:43:10 +10:00
Andrew Choo
0b3b522160 Implement newline cursor feature with one option instead of three
Per bobthecow:

"In keeping with bobthefish's goal to be opinionated but flexible,
let's do this with one option, not three. I'm leaning toward:

set -g theme_cursor_on_new_line yes
Then:

Always show the arrow at the end of the first line
Always show a minimalist arrow at the start of the next line"
2017-06-17 11:37:12 -04:00
Andrew Choo
8181b4526b Update README 2017-06-10 22:51:46 -04:00