This repository has been archived by the owner on Feb 3, 2021. It is now read-only.
Disable git for some folders/paths #154
Labels
Status: Blocked
Type: Enhancement
New feature or request
Upstream Issue
Issue also affecting upstream. May need fixing there, first.
Feature Request
Add and option to list regex and/or glob patterns to skip git features.
I am new to this theme - don't know if it is compatible with Spaceship.
My current fix
I have mounted projects via
sshfs
in~/code/sshfs/client/project/another/stuff/
.Command
git status --porcelain -b
never ends oversshfs
(I always kill it after 3-4 minutes).Setting
set -g SPACEFISH_GIT_SHOW false
helps a lot.I still get some git info like branches (but no status).
But at least I can run
ls
inside dir with.git
oversshfs
.What I have so far. It works for me for now.
~/.config/fish/fish_prompt_git_disable.fish
Call my function inside
fish_prompt
before setting other defaults.~/.config/fish/fish_prompt.fish
Maybe I should try with removing
git
keyword fromSPACEFISH_PROMPT_ORDER
.Which is better?
Variable
SPACEFISH_GIT_STATUS_SHOW
can be used insteadSPACEFISH_GIT_SHOW
when my pull request is accepted #155The text was updated successfully, but these errors were encountered: