Commit Graph

453 Commits

Author SHA1 Message Date
Justin Hileman
e3b4d4eafc Use string replace rather than match -g to find go version
Fixes #372
2024-09-24 09:25:17 -04:00
Justin Hileman
608b0b4de6
Revert path builtin change
Reverts change introduced in faf9223, as this breaks Fish versions without the builtin.

See #371
2024-07-19 18:32:08 +09:00
Justin Hileman
faf9223022 Ensure we use path builtin, not custom functions 2024-07-09 20:21:46 -04:00
Justin Hileman
e0ea821c27
Merge pull request #367 from frothedoatmilk/patch-1
Update README with better custom color scheme instructions
2024-06-18 13:55:31 -04:00
Louis Pate
09d1fb616e
Update README.md
Provide an up to date description of how to override colors for a theme
2024-06-18 13:48:24 -04:00
Justin Hileman
736356d73f
Merge pull request #366 from wxh06/master
Fix vi replace mode prompt
2024-05-14 19:47:49 -04:00
汪心禾
24c520e0b2
Fix vi replace mode prompt 2024-05-14 23:44:31 +08:00
Justin Hileman
0c15ff1cbc
Polyfill path sort for older fishes 2024-04-24 14:56:28 -04:00
Justin Hileman
4f0b0a5638 Switch type -fq out for command -q.
This has been available since fish 2.5 (~2017) so we're probably fine.
2024-04-20 23:58:40 -04:00
Justin Hileman
ce816e63ed Fail gracefully when hg or fossil segments are enabled but the binaries aren't available. 2024-04-20 23:54:33 -04:00
Justin Hileman
4e249b592f
Merge pull request #363 from demize/master
Add Fossil VCS support
2024-04-20 23:53:26 -04:00
demize
38b93488e5
Avoid a redundant call to fossil 2024-04-20 23:01:06 -04:00
demize
88055400c3
Use fossil status json instead of fossil info for more consistent performance 2024-04-20 20:59:55 -04:00
demize
3ae6695e20
Make a couple other variables function-scoped 2024-04-20 19:55:06 -04:00
demize
e59687a25d
Implement review feedback 2024-04-20 19:28:26 -04:00
demize
787236686c
Fix project directory discovery when outside a project directory 2024-04-20 12:48:27 -04:00
demize
921a6f40fb
Add Fossil VCS support
Commit amended on 2024-04-19 to update the README.
2024-04-19 18:27:54 -04:00
Justin Hileman
83bf89d10c Temporarily remove wslpath to fix broken git prompt under WSL 2024-04-01 22:34:48 -04:00
Justin Hileman
ec41294492
Merge pull request #359 from fabiomargarido/go-minor-version 2024-03-13 22:54:57 -04:00
Fabio Margarido
528b4e278b Fix golang version prompt when go directive in go.mod has minor version 2024-03-13 13:21:57 -03:00
Justin Hileman
d4d7d1ae49 Add screen to readme. 2024-03-09 14:50:52 -05:00
Justin Hileman
7dad3fc20a Remove "verbose" option for screen. 2024-03-09 14:47:36 -05:00
Justin Hileman
cb6bec83b8 Add screen to other color schemes. 2024-03-09 14:46:04 -05:00
Justin Hileman
397004ff27
Merge pull request #264 from pfsmorigo/screen
Display screen session if you set theme_display_screen to yes
2024-03-09 14:21:13 -05:00
Justin Hileman
152f04febd
Merge branch 'master' into screen 2024-03-09 14:19:30 -05:00
Justin Hileman
c8feda5fa9
Merge pull request #356 from SmollClover/color-scheme-catppuccin
Add Catppuccin color schemes
2024-03-09 10:25:56 -05:00
Justin Hileman
6b8fe17b7e
Merge branch 'master' into color-scheme-catppuccin 2024-03-09 10:25:49 -05:00
Justin Hileman
d277125050 Update jellybeans 2024-03-09 10:23:46 -05:00
Justin Hileman
778b501583
Merge pull request #182 from chandlerc/jellybeans
Add a colorscheme inspired by the Jellybeans colorscheme for Vim.
2024-03-09 10:23:21 -05:00
Justin Hileman
83ca0de82f
Merge branch 'master' into jellybeans 2024-03-09 10:23:11 -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
6fc71551dd
Merge pull request #333 from pindab0ter/feature/darcula-colors
Add color scheme using JetBrains' Darcula's colors
2024-03-09 10:10:20 -05:00
Justin Hileman
8669f50569 Don't show detached branch ref if we've already shown a tag. 2024-03-05 19:53:54 -05:00
Justin Hileman
f5ba0ce022
Merge pull request #311 from zztalker/patch-1
show git tags if any
2024-03-05 19:53:18 -05:00
Justin Hileman
6e0ceba5db Use $git_root_dir (to support WSL, worktrees, etc) for untracked files. 2024-03-05 19:36:57 -05:00
Evan Dean
8821f55849 Use repo root when looking for untracked files
Currently, if you add a new file to a directory, then cd to a sibling directory, the untracked glyph will not appear. This is inconsistent with the behavior of the other git colors and flags, e.g. if you modify a file and cd into a sibling directory, the prompt will still be red and the dirty working directory glyph will still appear.

This PR modifies the query used to find untracked files so it searches from the repo root instead of the current directory.
2024-03-05 19:34:15 -05:00
Justin Hileman
7216de5cac Formatting and a comment. 2024-03-05 19:27:31 -05:00
Justin Hileman
e711caac72
Merge pull request #336 from millimoose/patch-1
Support using Windows git under WSL
2024-03-05 18:46:02 -05:00
Justin Hileman
bbb7cff04d Handle missing Python more gracefully.
Fixes #335
2024-03-05 18:21:39 -05:00
Justin Hileman
4beb1bc3b4 Update README config example. 2024-03-05 18:01:34 -05:00
Justin Hileman
2e0f04b555 Support init.defaultBranch Git configuration option. 2024-03-05 17:57:41 -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
Justin Hileman
39cf45635b
Merge pull request #357 from MaxSchambach/feature/hide-python-version
Add option to hide python version
2024-03-05 10:16:27 -05:00
Justin Hileman
0f7bca6df5
Merge pull request #327 from seanhagen/master
Add Go prompt
2024-03-05 10:03:27 -05:00
Kristian Rekstad
dc70af567e Use the new AWS_CREDENTIAL_EXPIRATION env var for aws-vault
Fixes #350
2024-03-04 16:29:15 -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