diff --git a/fish/functions/ff.fish b/fish/functions/ff.fish index b7daeb2..b9f0516 100644 --- a/fish/functions/ff.fish +++ b/fish/functions/ff.fish @@ -57,6 +57,10 @@ function ff set -l parts (string split '|' $cmd) printf " %-10s %s\n" $parts[1] $parts[2] end + case update + cd ~/.dotfile + git pull origin main + cd - case '*' if test -z "$argv[1]" echo "Error: No command specified"