Aggiunta di zsh-ssh per la gestione della completion su ssh.

This commit is contained in:
Emiliano Vavassori 2023-06-29 01:03:04 +02:00
parent db4ce2af2c
commit eb08dad91e
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
zsh/external
zsh/plugins/zsh-ssh.plugin.zsh
zsh/distro.base.zsh
vim/autoload/plug.vim
vim/plugged

View File

@ -31,6 +31,12 @@ if [[ ! -f "$HOME/.zshrc" ]]; then
ln -sf ${DOTFILES}/zsh/distro/centos.base.zsh ${DOTFILES}/zsh/distro.base.zsh
fi
# Installing better ssh completion with fzf and ssh_config Include with:
# https://github.com/sunlei/zsh-ssh
mkdir -p ${DOTFILES}/zsh/external
git clone https://github.com/sunlei/zsh-ssh.git ${DOTFILES}/zsh/external/zsh-ssh
ln -sf ${DOTFILES}/zsh/external/zsh-ssh/zsh-ssh.zsh ${DOTFILES}/zsh/plugins/zsh-ssh.plugin.zsh
cp "${DOTFILES}/zshrc" "$HOME/.zshrc"
fi