DEV Community

Cover image for ⚙️ ❮ ZBrowse ❯
❮ ZI ❯ for Z-Shell

Posted on • Edited on • Originally published at z-shell.pages.dev

1 1

⚙️ ❮ ZBrowse ❯


Logo

https://z.digitalclouds.dev | GitHub | Twitter


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

Install zbrowse

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
Enter fullscreen mode Exit fullscreen mode

to zshrc.

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

ZI

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

Antigen

Add antigen bundle z-shell/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:z-shell/zbrowse.git
  3. Add zbrowse to your plugin list

Zgen

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs