Instead of passing into python, do substitution entirely in zsh? I'm not sure I can be certain a leading : is a hash though. It is legal to use in branches.
Example in zsh substitutions. First char, rest.
echo ${GIT_BRANCH[1]}
echo ${GIT_BRANCH:1}
Fairly low priority feature.
Instead of passing into python, do substitution entirely in zsh? I'm not sure I can be certain a leading
:is a hash though. It is legal to use in branches.Example in zsh substitutions. First char, rest.
Fairly low priority feature.