]> git.madduck.net Git - etc/zsh.git/commitdiff

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:

declare RPS1 in global scope
authormartin f. krafft <madduck@madduck.net>
Mon, 26 Jun 2017 13:52:34 +0000 (15:52 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 26 Jun 2017 13:58:45 +0000 (15:58 +0200)
.zsh/themes/prompt_madduck_setup

index 69cff7331402b9c34e0be89460ae3c58426841ad..100ce874162e750dfd74058deed0b2131a1c6821 100644 (file)
@@ -363,7 +363,7 @@ function make_rps1() {
   echo -n '%D{%d %H:%M:%S.%.}'
   echo
 }
   echo -n '%D{%d %H:%M:%S.%.}'
   echo
 }
-RPS1=$(make_rps1)
+typeset -g RPS1="$(make_rps1)"
 unfunction make_rps1
 
 # vim:ft=zsh
 unfunction make_rps1
 
 # vim:ft=zsh