| feeder | ||
| myflock | ||
| LICENSE | ||
| README.md | ||
| zconvey.plugin.zsh | ||
| ZSTYLES.md | ||
Introduction
Zconvey integrates multiple Zsh sessions. They are given an ID, optionally a NAME (both unique), and can send commands to each other.
Zstyles
The values being set are the defaults.
zstyle ":plugin:zconvey" check_interval "2" # How often to check if there are new commands (in seconds)
zstyle ":plugin:zconvey" expire_seconds "20" # If shell is busy for 20 seconds, the received command will expire and not run
zstyle ":plugin:zconvey" greeting "logo" # Display logo at Zsh start ("text" – display text, "none" – no greeting)
zstyle ":plugin:zconvey" ask "0" # zc won't ask for missing data ("1" has the same effect as always using -a option)
zstyle ":plugin:zconvey" ls_after_rename "0" # Don't execute zc-ls after doing rename (with zc-rename or zc-take)
zstyle ":plugin:zconvey" use_zsystem_flock "1" # Should use faster zsystem's flock when it's possible?
# (default true on Zsh >= 5.3)
zstyle ":plugin:zconvey" output_method "feeder" # To put commands on command line, Zconvey can use small program "feeder". Or "zsh"
# method, which currently doesn't automatically run the command – to use when e.g.
# feeder doesn't build (unlikely) or when occurring any problems with it
zstyle ":plugin:zconvey" timestamp_from "datetime" # Use zsh/datetime module for obtaining timestamp. "date" – use date command (fork)
Installation
The plugin is "standalone", which means that only sourcing it is needed. So to
install, unpack zconvey somewhere and add
source {where-zconvey-is}/zconvey.plugin.zsh
to zshrc.
If using a plugin manager, then Zplugin is recommended, but you can use any
other too, and also install with Oh My Zsh (by copying directory to
~/.oh-my-zsh/custom/plugins).
Zplugin
Add zplugin load psprint/zconvey to your .zshrc file. Zplugin will handle
cloning the plugin for you automatically the next time you start zsh.
Antigen
Add antigen bundle psprint/zconvey to your .zshrc file. Antigen will handle
cloning the plugin for you automatically the next time you start zsh.
Oh-My-Zsh
cd ~/.oh-my-zsh/custom/pluginsgit clone git@github.com:psprint/zconvey.git- Add
zconveyto your plugin list
Zgen
Add zgen load psprint/zconvey to your .zshrc file in the same place you're doing
your other zgen load calls in.
