dotfiles/fish/functions/is_git_repo.fish

7 lines
87 B
Fish
Raw Normal View History

2009-06-13 20:02:38 +10:00
function is_git_repo
git status >/dev/null ^/dev/null
not test $status -eq 128
end