Skip to content

nicoandmee/zbrowse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZBrowse Gitter

When doing shell work, it is often the case that echo $variable is invoked multiple times, to check result of a loop, etc. With ZBrowse, you just need to press Ctrl-B, which invokes the ZBrowseZshell variable browser:

ZBrowse

(you can resize the video like any web page)

asciicast

Installation

First install the ZUI plugin (it's an UI library).

The plugin is "standalone", which means that only sourcing it is needed. So to install, unpack zbrowse somewhere and add

source {where-zbrowse-is}/zbrowse.plugin.zsh

to zshrc.

If using a plugin manager, then zinit 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).

Add zinit load zdharma-continuum/zbrowse to your .zshrc file. zinit will handle cloning the plugin for you automatically the next time you start zsh. To update run zinit update zdharma-continuum/zbrowse (update-all can also be used).

To remap the default bindkey (Ctrl+B) which conflicts with GNU readline, do the following:

zinit ice wait"3" trackbinds bindmap"^B -> ^H; lucid
zinit light zdharma-continuum/zbrowse

This will make Ctrl+H the default keybinding to invoke zbrowse.

Antigen

Add antigen bundle zdharma-continuum/zbrowse to your .zshrc file. Antigen will handle cloning the plugin for you automatically the next time you start zsh.

Oh-My-Zsh

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone git@github.com:zdharma-continuum/zbrowse.git
  3. Add zbrowse to your plugin list

Zgen

Add zgen load zdharma-continuum/zbrowse to your .zshrc file in the same place you're doing your other zgen load calls.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%