Initial commit lol
This commit is contained in:
parent
a2318e586a
commit
ed3d2e8ef8
18 changed files with 375 additions and 0 deletions
5
programs/fish/functions/git_is_repo.fish
Normal file
5
programs/fish/functions/git_is_repo.fish
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
test -d .git
|
||||
or begin
|
||||
set -l info (command git rev-parse --git-dir --is-bare-repository 2>/dev/null)
|
||||
and test $info[2] = false
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue