mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
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
This commit is contained in:
@@ -171,7 +171,7 @@ variables to set the colors of the prompt. See the "Colors" section of
|
||||
|
||||
|
||||
**VCS options**
|
||||
- `set -g theme_vcs_ignore_paths /some/path/* /some/other/path`. Tells bobthefish to ignore paths for Git or Mercurial. Supports glob patterns.
|
||||
- `set -g theme_vcs_ignore_paths /some/path /some/other/path{foo,bar}`. Ignore project paths for Git or Mercurial. Supports glob patterns.
|
||||
|
||||
### Overrides
|
||||
|
||||
|
||||
Reference in New Issue
Block a user