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