feat zsh: add ssh

This commit is contained in:
Yuan Chiu 2025-05-05 15:37:14 +08:00
parent d0f954b006
commit 534558cea8

View File

@ -151,6 +151,9 @@ zle -N my_paste_from_clipboard
# bindkey '^O' my_paste_from_clipboard # 例如 Ctrl+O # bindkey '^O' my_paste_from_clipboard # 例如 Ctrl+O
bindkey '^P' my_paste_from_clipboard # 例如 Ctrl+P bindkey '^P' my_paste_from_clipboard # 例如 Ctrl+P
# SSH 自動補齊
zinit light sunlei/zsh-ssh
# overwrite ls # overwrite ls
if command -v colorls &> /dev/null; then if command -v colorls &> /dev/null; then
alias ls='colorls' alias ls='colorls'