Created
March 13, 2014 22:18
-
-
Save exodist/9538247 to your computer and use it in GitHub Desktop.
zsh expansion issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exodist@Aswan $ setopt PROMPT_SUBST | |
exodist@Aswan $ function foo() { date +%s } | |
exodist@Aswan $ export RPROMPT="%{$(foo)%}" | |
exodist@Aswan $ 1394749035 | |
exodist@Aswan $ 1394749035 | |
exodist@Aswan $ 1394749035 | |
exodist@Aswan $ 1394749035 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment