Spaceship-prompt: Mercurial branch info

Created on 28 Jun 2017  路  4Comments  路  Source: denysdovhan/spaceship-prompt

Issue

I've got this file missing message when I changed to directory _inside_ mercurial repo:

$ pwd
/path/to/server
$ cd app
cat: /path/to/server/app/.hg/branch: No such file or directory

App root directory is /path/to/server with mercurial branch file in /path/to/server/.hg/branch.

Environment

Operating system: macOS
Terminal emulator: iTerm
ZSH version: 5.3.1 (x86_64-apple-darwin16.6.0)

Relevant .zshrc

ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ORDER=(
  time          # Time stampts section
  user          # Username section
  host          # Hostname section
  dir           # Current directory section
  git           # Git section (git_branch + git_status)
  hg            # Mercurial section (hg_branch  + hg_status)
  package       # Package version
  node          # Node.js section
  ruby          # Ruby section
  elixir        # Elixir section
  xcode         # Xcode section
  swift         # Swift section
  golang        # Go section
  php           # PHP section
  docker        # Docker section
  venv          # virtualenv section
  pyenv         # Pyenv section
  exec_time     # Execution time
  line_sep      # Line break
  vi_mode       # Vi-mode indicator
  jobs          # Backgound jobs indicator
  exit_code     # Exit code section
  char          # Prompt character
)
bug has-pr

Most helpful comment

Thank you @doole for pointing this out. This will be fixed soon.

All 4 comments

Thank you @doole for pointing this out. This will be fixed soon.

Is this already fixed? How would I get the update if I'm using zplug?

@dguay I've submitted PR at #156 . Will be merged after review.
I'm not a user of zplug. I think zplug update will update package to the latest release.

Published as v2.7.2!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jwhipp picture jwhipp  路  3Comments

maccius picture maccius  路  3Comments

conradwt picture conradwt  路  3Comments

gabrielpedepera picture gabrielpedepera  路  3Comments

oldchevy picture oldchevy  路  3Comments