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
Steps to repro:
PS1="\$(${dvcs_function})\[$COLOR_RESET\] \h:\W \u\$ "
Expected:
(default) Ed-Brannins-MacBook-Pro:empty ed$
Observed:
cat: /Users/ed/tmp/empty/.hg/branch: No such file or directory () Ed-Brannins-MacBook-Pro:empty ed$
I tried replacing this line:
# If we are in mercurial ... if [ -n \"\$_hg_dir\" ]; then hgBranch=\`cat \"\$_hg_dir/.hg/branch\"\`
with this one:
# If we are in mercurial ... if [ -n \"\$_hg_dir\" ]; then hgBranch=`hg branch`
...but now I get this upon opening a new shell, which is why this isn't a pull request:
abort: no repository found in '/Users/ed' (.hg not found)!
The text was updated successfully, but these errors were encountered:
confirmed, will fix
Sorry, something went wrong.
No branches or pull requests
Steps to repro:
PS1="\$(${dvcs_function})\[$COLOR_RESET\] \h:\W \u\$ "
Expected:
Observed:
I tried replacing this line:
with this one:
...but now I get this upon opening a new shell, which is why this isn't a pull request:
The text was updated successfully, but these errors were encountered: