We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use vcsh in conjunction with zsh and vcs_info and I'd like to share the following recipe:
zstyle -e ':vcs_info:git+post-backend:*' hooks 'reply=( ${${(k)functions[(I)[+]vi-git-post-backend*]}#+vi-} )' +vi-git-post-backend-vcsh() { if git config --get 'vcsh.vcsh' > /dev/null; then hook_com[branch]+="%f/vcsh${GIT_DIR:+":${${GIT_DIR:t}%.git}"}" # %f ends coloring fi }
With this recipe, after doing vcsh enter foo, the vcs_info prompt says (git)-[master/vcsh:foo]- rather than (git)-[master]-.
vcsh enter foo
(git)-[master/vcsh:foo]-
(git)-[master]-
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use vcsh in conjunction with zsh and vcs_info and I'd like to share the following recipe:
With this recipe, after doing
vcsh enter foo
, the vcs_info prompt says(git)-[master/vcsh:foo]-
rather than(git)-[master]-
.The text was updated successfully, but these errors were encountered: