This website requires JavaScript.
Explore
Help
Sign In
bo
/
dotfiles
mirror of
https://github.com/bjeanes/dotfiles.git
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Releases
Activity
236a3492a8
dotfiles
/
fish
/
functions
/
git_dirty.fish
8 lines
98 B
Fish
Raw
Normal View
History
Unescape
Escape
Added stuff from fish-nuggets and changed behaviour of a few
2009-06-11 09:54:54 +10:00
function
git_dirty
Only show git dirty if in a git repo
2009-06-13 20:02:38 +10:00
if
not
is_git_repo
return
1
end
Added stuff from fish-nuggets and changed behaviour of a few
2009-06-11 09:54:54 +10:00
not
git diff HEAD
--quiet
^
/dev/null
end