diff --git a/fish/functions/flpu.fish b/fish/functions/flpu.fish new file mode 100644 index 0000000..50e2f95 --- /dev/null +++ b/fish/functions/flpu.fish @@ -0,0 +1,3 @@ +function flpu --wraps='fossil update' + fossil pull && fossil update $argv +end diff --git a/zshrc b/zshrc index dce2dee..737b4be 100644 --- a/zshrc +++ b/zshrc @@ -251,6 +251,10 @@ if __has_command fossil; then fossil diff -N "$@" | colordiff | less -FRX } + flpu() { + fossil pull && fossil update "$@" + } + flgrep() { local ret=1 fossil changes --all . | sed 's/^.* //' | while read file; do