add fish config

This commit is contained in:
FlintyLemming
2025-12-31 16:22:59 +08:00
parent f96c1f168c
commit 42235cddae

View File

@@ -8,6 +8,9 @@ else
end
end
set -gx LANG C.UTF-8
set -gx LC_ALL C.UTF-8
# 禁用 Fish 默认欢迎语
set -g fish_greeting ""
@@ -150,10 +153,6 @@ function portcheck
echo $port
end
function nano --wraps nano
env LANG=C.UTF-8 LC_ALL=C.UTF-8 nano $argv
end
abbr -a port 'sudo ss -tulnp | grep'
abbr -a process 'ps aux | grep'