Schroot plugin

This commit is contained in:
Maxim Moseychuk 2015-05-07 19:21:18 +03:00
commit a2160b0add
No known key found for this signature in database
GPG key ID: 2E8CB220601743F2
2 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,16 @@
###################################################################
# Show current schroot
#
# Author:
# https://github.com/fshp
#
# You need modify theme
# The theme can be obtained here:
# https://github.com/fshp/schroot.zsh-theme
###################################################################
function schroot_prompt_info() {
if [ -n "$SCHROOT_CHROOT_NAME" ]; then
echo "${ZSH_THEME_SCHROOT_PROMPT_PREFIX}${SCHROOT_CHROOT_NAME}${ZSH_THEME_SCHROOT_PROMPT_SUFFIX}"
fi
}