fix: dirsize

This commit is contained in:
2026-05-30 13:42:51 +08:00
parent 609536a15c
commit 21b12675e9
3 changed files with 208 additions and 1 deletions
+6
View File
@@ -13,6 +13,7 @@ function ff
"script|Run script from script directory" \
"update|Update dotfile" \
"region|Toggle or set CN_REGION (mirror/proxy region)" \
"ssh|SSH init (keys + config.d) or copy config to remote" \
"help|Show this help message"
# 确保 execute-script 可用(在 fish 自动加载前手动引入一次)
@@ -83,6 +84,11 @@ function ff
cd ~/.dotfile
git pull origin main
cd -
case ssh
if not functions -q ff_ssh
source ~/.dotfile/fish/functions/ff-ssh.fish
end
ff_ssh $argv[2..-1]
case region
set -l sub toggle
if test (count $argv) -ge 2