Installing Gems And Node Modules With Zplugin
With use of the bin-gem-node annex you can install Ruby Gems and Node modules in an interesting way:
- they’ll be installed in the plugin’s or snippet’s directory,
- an automatic function will be provided to run the binary that’s provided by the package.
Nickname a plugin or snippet
Zplugin now supports
loading a plugin or snippet with a NICK-NAME. Set the
nickname through the new
id-as'' ice-mod. For example, one could try to load
docker/compose from Github binary releases:
New 40 working hours, next generation themes
It was September, 3rd when I’ve decided to do an utmost, radically time-invested theme for the
zdharma/fast-syntax-highlighting (for Zshell, see its Github page). I was finishing two
sv-orple and I noticed how unsupported by anything are my decisions about assigning
colors in given way. I then decided to understand the objects in command line and colorize them
according to a full, narration-based theory even if it was to take me two weeks to get this
done. See the effects.
How to patch Zshell on the fly
Some 10 years ago, there was a topic in Linux kernel security – patching live kernel
by writing to
/dev/kmem or by loading a custom Linux module (file with
Not sure how this topic looks today, but something similar is possible with a popular
system shell, the Zshell.
Zplugin to have a binary module
As most of Zsh users know, there exist binary Zsh modules, like for example
The modules extend Zshell, take the mentioned module as an example – it provides a global
$EPOCHSECONDS holding unix time-stamp.
Zsh Native Scripting Handbook
When writing Zsh plugins I learned (i.a. thanks to #zsh channel) how to avoid forks to external tools, for speed and lack of dependencies. I’ve put this experience into Asciidoc document.
New plugin: Zredis
I have released a plugin that is a milestone in administration of
Database keys are mapped to Zsh variables, the binding allows to read and write
strings, hashes, sets, sorted sets, lists.