- Fork this repo
- Edit the plugin files:
pluginrc.zsh
- this script will be executed on the host when you connect to the host. Put here your functions, environment variables, aliases and whatever you need.build.sh
- this script should be executed to prepare the plugin on local xxh. It will be executed automatically ifbuild
directory is not exists.env
- see description below
- Replace this list to description of your xxh plugin (review other xxh plugins)
- Push your commits and rename your repo to
xxh-plugin-zsh-fzf
- Install the plugin to your xxh home:
xxh +I xxh-plugin-zsh-fzf+git+https://github.com/yourname/xxh-plugin-zsh-fzf
- Try connect in update mode:
xxh [user@]host[:port] +s zsh +if
The xxh has seamless environment mode which allows to pass variable from your current shell session
to the xxh host session. For example if you have ZSH_THEME
variable with your shell color theme you shouldn't
worry about passing it manually. Add it to env
file (one variable name per line) and you can do the magic by using source xxh.zsh
command:
home> echo $ZSH_THEME
agnoster
home> source xxh.zsh myhost
myhost> echo $ZSH_THEME
agnoster
This very useful when you want to use the same tools on your local and remote host.
Pinned xxh zsh plugins: ohmyzsh, powerlevel10k
๐ Search xxh plugins on Github or Bitbucket or ๐ก Create xxh plugin