This plugin provides suggestions for ssh
command from ~/.ssh/config
file
Clone this repository into $ZSH_CUSTOM/plugins
(by default ~/.oh-my-zsh/custom/plugins
)
git clone https://github.com/yngc0der/zsh-ssh-config-suggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-ssh-config-suggestions
Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc
):
plugins=(
# other plugins...
zsh-ssh-config-suggestions
)
Start a new terminal session.
Clone this repository somewhere on your machine. This guide will assume ~/.zsh/zsh-ssh-config-suggestions
.
git clone https://github.com/yngc0der/zsh-ssh-config-suggestions.git ~/.zsh/zsh-ssh-config-suggestions
Add the following to your .zshrc
:
source ~/.zsh/zsh-ssh-config-suggestions/zsh-ssh-config-suggestions.zsh
Start a new terminal session.