diff --git a/fish/add-on.fish b/fish/add-on.fish index c6c8d02..cdcdfc4 100644 --- a/fish/add-on.fish +++ b/fish/add-on.fish @@ -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'