Refactor codebase to use nix modules
This commit is contained in:
parent
a4735423b4
commit
ffada2703c
114 changed files with 1018 additions and 744 deletions
5
hmModules/apps/shells/fish/functions/git_is_repo.fish
Normal file
5
hmModules/apps/shells/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