add fish config
This commit is contained in:
@@ -8,6 +8,9 @@ else
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
set -gx LANG C.UTF-8
|
||||||
|
set -gx LC_ALL C.UTF-8
|
||||||
|
|
||||||
# 禁用 Fish 默认欢迎语
|
# 禁用 Fish 默认欢迎语
|
||||||
set -g fish_greeting ""
|
set -g fish_greeting ""
|
||||||
|
|
||||||
@@ -150,10 +153,6 @@ function portcheck
|
|||||||
echo $port
|
echo $port
|
||||||
end
|
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 port 'sudo ss -tulnp | grep'
|
||||||
abbr -a process 'ps aux | grep'
|
abbr -a process 'ps aux | grep'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user