feat: add ff update

This commit is contained in:
2025-10-19 18:13:44 +08:00
parent 01029777d5
commit d80f88dbb4
+4
View File
@@ -57,6 +57,10 @@ function ff
set -l parts (string split '|' $cmd) set -l parts (string split '|' $cmd)
printf " %-10s %s\n" $parts[1] $parts[2] printf " %-10s %s\n" $parts[1] $parts[2]
end end
case update
cd ~/.dotfile
git pull origin main
cd -
case '*' case '*'
if test -z "$argv[1]" if test -z "$argv[1]"
echo "Error: No command specified" echo "Error: No command specified"