Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fshp/schroot.plugin.zsh
https://github.com/fshp/schroot.plugin.zsh
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fshp/schroot.plugin.zsh
- Owner: fshp
- Created: 2016-12-14T11:23:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2016-12-14T11:24:29.000Z (over 7 years ago)
- Last Synced: 2024-03-21T21:10:21.689Z (2 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - schroot - Show current `chroot` name in your prompt. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - schroot - Show current `chroot` name in your prompt. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - schroot - Show current `chroot` name in your prompt. (Plugins / Zinit (née zplugin))
- awesome-zsh-plugins - schroot - Show current `chroot` name in your prompt. (Plugins / ZSH on Windows)
README
schroot ZSH plugin
==================This is a plugin for print current schroot name.
Installation
------------You can install this plugin via [antigen](https://github.com/zsh-users/antigen):
```zsh
# $HOME/.zshrc
source /usr/local/share/antigen.zshantigen 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](https://github.com/fshp/schroot.zsh-theme).