From eb08dad91ecb15e6689d58817f2f215206d79421 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Thu, 29 Jun 2023 01:03:04 +0200 Subject: [PATCH] Aggiunta di zsh-ssh per la gestione della completion su ssh. --- .gitignore | 2 ++ prepare.sh | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 0ccee94..9a015d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +zsh/external +zsh/plugins/zsh-ssh.plugin.zsh zsh/distro.base.zsh vim/autoload/plug.vim vim/plugged diff --git a/prepare.sh b/prepare.sh index 9474264..ed46d53 100644 --- a/prepare.sh +++ b/prepare.sh @@ -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