From d80f88dbb42f299641bf7cd479a07cbaca39e9d9 Mon Sep 17 00:00:00 2001 From: laily Date: Sun, 19 Oct 2025 18:13:44 +0800 Subject: [PATCH] feat: add ff update --- fish/functions/ff.fish | 4 ++++ 1 file changed, 4 insertions(+) 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"