Giter VIP home page Giter VIP logo

xxh-plugin-zsh-fzf's Introduction

fzf zsh xxh plugin

  1. Fork this repo
  2. 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 if build directory is not exists.
    • env - see description below
  3. Replace this list to description of your xxh plugin (review other xxh plugins)
  4. Push your commits and rename your repo to xxh-plugin-zsh-fzf
  5. Install the plugin to your xxh home:
xxh +I xxh-plugin-zsh-fzf+git+https://github.com/yourname/xxh-plugin-zsh-fzf
  1. Try connect in update mode: xxh [user@]host[:port] +s zsh +if

env file

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.

Examples

Pinned xxh zsh plugins: ohmyzsh, powerlevel10k

๐Ÿ”Ž Search xxh plugins on Github or Bitbucket or ๐Ÿ’ก Create xxh plugin

xxh-plugin-zsh-fzf's People

Contributors

nom05 avatar

Watchers

 avatar

Forkers

samosica

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.