- Notifications
You must be signed in to change notification settings - Fork42
Better host completion for ssh in Zsh.
License
sunlei/zsh-ssh
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Better host completion for ssh in Zsh.
Make sure you havefzf installed.
zinit light sunlei/zsh-ssh
antigen bundle sunlei/zsh-ssh
Clone this repository into
$ZSH_CUSTOM/plugins
(by default~/.oh-my-zsh/custom/plugins
)git clone https://github.com/sunlei/zsh-ssh${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-ssh
Add the plugin to the list of plugins for Oh My Zsh to load (inside
~/.zshrc
):plugins=(zsh-ssh$plugins)
Start a new terminal session.
Add this config to
~/.config/sheldon/plugins.toml
[plugins.zsh-ssh]github ='sunlei/zsh-ssh'
Run
sheldon lock
to install the plugin.Start a new terminal session.
Clone this repository somewhere on your machine. For example:
~/.zsh/zsh-ssh
.git clone https://github.com/sunlei/zsh-ssh~/.zsh/zsh-ssh
Add the following to your
.zshrc
:source~/.zsh/zsh-ssh/zsh-ssh.zsh
Start a new terminal session.
Just pressTab afterssh
command as usual.
You can use#_Desc
to set description.
~/.ssh/config
Host Bastion-Host Hostname 1.1.1.1 User sunleiHost Development-Host Hostname 2.2.2.2 IdentityFile ~/.ssh/development-host #_Desc For Development
About
Better host completion for ssh in Zsh.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.