nix-dotfiles/hmModules/apps/shells/fish/functions/git_is_worktree.fish

2 lines
73 B
Fish

git_is_repo
and test (command git rev-parse --is-inside-git-dir) = false