Skip to content

fshp/schroot.plugin.zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

schroot ZSH plugin

This is a plugin for print current schroot name.

Installation

You can install this plugin via antigen:

# $HOME/.zshrc
source /usr/local/share/antigen.zsh

antigen use oh-my-zsh
antigen bundle fshp/schroot.plugin.zsh
antigen theme fshp/schroot.zsh-theme schroot # optional
antigen apply

It could be upgraded by antigen update command.

Customize Theme

There are two constant strings which could be overrided in your custom theme.

  • ZSH_THEME_SCHROOT_PROMPT_PREFIX
  • ZSH_THEME_SCHROOT_PROMPT_SUFFIX

And the function schroot_prompt_info could be used in the prompt of your theme.

Example

See the schroot.zsh-theme.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages