add ssh server
This commit is contained in:
@@ -54,5 +54,13 @@ function restore_cursor --on-event fish_postexec
|
|||||||
tput cnorm
|
tput cnorm
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# 检查当前的 LANG 是否包含 UTF-8(忽略大小写),修复 nano 无法输入中文的问题
|
||||||
|
if not string match -qi "*UTF-8" "$LANG"
|
||||||
|
# 如果当前没有设置或者不是 UTF-8,则尝试设置为 zh_CN.UTF-8
|
||||||
|
# 如果你更偏好英文界面但要中文输入,这里也可以写 en_US.UTF-8
|
||||||
|
set -gx LANG zh_CN.UTF-8
|
||||||
|
set -gx LC_ALL zh_CN.UTF-8
|
||||||
|
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