Allow things like 'hello {venv name} !' to be shown after the prefix,
and fix (something that, to me, looks like) a problem explained in #220 .
Doc also is updated.
Note that the %m construct, already used for host name in context, is reused.
I didn't understand how exactly the %m itself is translated to the hostname at some point,
but in my case, i just use a zsh idiom to replace any occurence of %m by the virtualenv name,
allowing the default value to mimic the expected behavior (print the name of the venv), but letting user to specify prefixes & suffixes, and eventually totally drop the virtualenv name.
I need this for personal use, but i don't know zsh well ; i would love to get feedbacks.
Allow things like 'hello {venv name} !' to be shown after the prefix, and fix (something that, to me, looks like) a problem explained in #220 . Doc also is updated.
Note that the
%m
construct, already used for host name in context, is reused. I didn't understand how exactly the%m
itself is translated to the hostname at some point, but in my case, i just use a zsh idiom to replace any occurence of%m
by the virtualenv name, allowing the default value to mimic the expected behavior (print the name of the venv), but letting user to specify prefixes & suffixes, and eventually totally drop the virtualenv name.I need this for personal use, but i don't know zsh well ; i would love to get feedbacks.