update fish functions

This commit is contained in:
Ben Harris 2021-10-10 16:23:34 -04:00
parent 8408a06469
commit fead404111
3 changed files with 9 additions and 8 deletions

View File

@ -0,0 +1,5 @@
# Defined in /tmp/fish.sXa0jy/gall.fish @ line 2
function gall
find ~/workspace -type d -name .git -print0 \
| xargs -0 -n1 -I% git --git-dir=% --work-tree=%/.. $argv
end

View File

@ -1,8 +0,0 @@
# Defined in /tmp/fish.aHcCMP/tht.fish @ line 2
function tht
if test -f ~/.tht/bin/tht.php
php ~/.tht/bin/tht.php $argv
else
echo tht not installed
end
end

View File

@ -13,6 +13,9 @@
[pull]
ff = only
[diff]
colorMoved = default
[diff "gpg"]
textconv = gpg --no-tty --decrypt
cachetextconv = false
@ -35,6 +38,7 @@
ap = add --patch
local = log --oneline --no-merges ${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}..HEAD
upstream = log --oneline --no-merges HEAD..${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}
cv = commit --verbose
[rerere]
enabled = true
[merge]