]> git.madduck.net Git - etc/zsh.git/blobdiff - .zsh/themes/prompt_madduck_setup

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add pmnpw alias
[etc/zsh.git] / .zsh / themes / prompt_madduck_setup
index 14e85ef665af0a2d15fd6a7671cf04ce7818c679..64f7bc0977a67191f431f0e7d84b8eae9100fb19 100644 (file)
@@ -49,7 +49,7 @@ __get_prompt_psvar_style() {
 # but $PS1 then contains these as default values for each psvar element, i.e.
 # we can override psvar[1] later, but we don't have to
 psvar[1]='%(2L.+.)'
 # but $PS1 then contains these as default values for each psvar element, i.e.
 # we can override psvar[1] later, but we don't have to
 psvar[1]='%(2L.+.)'
-psvar[2]="$DEBIAN_CHROOT"
+psvar[2]="$SUBSHELL_PREFIX"
   zstyle :madduck:prompt:default psvar2-style-pre '%S'
   zstyle :madduck:prompt:default psvar2-style-post '%s@'
 psvar[3]='%m'
   zstyle :madduck:prompt:default psvar2-style-pre '%S'
   zstyle :madduck:prompt:default psvar2-style-post '%s@'
 psvar[3]='%m'