Spaceship-prompt: Running `git branch`

Created on 24 Jan 2018  ·  1Comment  ·  Source: denysdovhan/spaceship-prompt

Issue

When running git branch, I'm not getting the output in the standard ouptut but in less program.

Screenshot

gitbranch

Environment

Spaceship version: 3.0.3
Zsh version: 5.3
Zsh framework: oh-my-zsh
Zsh plugin manager: None
Terminal emulator: iTerm
Operating system: macOS

Relevant .zshrc

# your configuration here
ZSH_THEME="spaceship"

## THEME OPTIONS

SPACESHIP_CHAR_SYMBOL="❯ "
SPACESHIP_PACKAGE_SHOW="false"
SPACESHIP_NODE_SHOW="false"
SPACESHIP_EXEC_TIME_SHOW="false"
question wontfix

Most helpful comment

Prompts do not change any shell behavior other than how it looks and this is not an issue with spaceship-prompt.

Possibly you updated your git to v2.16 recently and this change was introduced. From v2.16, git branch --list pipes its output to less. You can disable this with git config --global pager.branch false. Please see the related git release notes.

>All comments

Prompts do not change any shell behavior other than how it looks and this is not an issue with spaceship-prompt.

Possibly you updated your git to v2.16 recently and this change was introduced. From v2.16, git branch --list pipes its output to less. You can disable this with git config --global pager.branch false. Please see the related git release notes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

doole picture doole  ·  4Comments

ChadTaljaardt picture ChadTaljaardt  ·  4Comments

xhaythemx picture xhaythemx  ·  3Comments

gabrielpedepera picture gabrielpedepera  ·  3Comments

conradwt picture conradwt  ·  3Comments