pure: Git info not showing up next to directory

General information

  • Pure version: 1.8.0
  • ZSH version: 5.3.0
  • Terminal program & version: 2.0.0
  • Operating system: macOS Sierra 10.13.6
  • ZSH framework: oh-my-zsh

I have:

  • Followed the Integration instructions for my framework
  • Tested with another terminal program and can reproduce the issue:

Problem description

When inside of a git repo, I do not see the current branch name or the * when files are changed.

Reproduction steps

  1. open Hyper
  2. cd into any git repo

My .zshrc:

# Path to your oh-my-zsh installation.
export ZSH=/Users/mattgabor/.oh-my-zsh

ZSH_THEME=""

plugins=(git web-search statify zsh-autosuggestions zsh-syntax-highlighting)

export GOPATH=$HOME/golang
export PATH=$PATH:$GOPATH/bin

export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

source $ZSH/oh-my-zsh.sh

source ~/.profile
source ~/.aliases

export PATH="/usr/local/sbin:/usr/local/share/npm/bin:$PATH"

export NVM_DIR="/Users/mattgabor/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm

export PATH="/usr/local/mysql/bin:$PATH" # Add MYSQL to PATH
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
[[ -s "$HOME/.avn/bin/avn.sh" ]] && source "$HOME/.avn/bin/avn.sh" # load avn

# enable pure theme
autoload -U promptinit; promptinit
prompt pure

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15

Most upvoted comments

@nbari, thanks for sharing, and glad you’ve found a solution that works for you. For us, rust isn’t an option as we want portability. I have a WIP branch for zsh-async that implements async in a similar way (no-zpty). I haven’t had time work on it but my plan is to implement it as an alternate backend.

Hope you find a resolution! And please let us know if you do, it would be great to know if we can guard against it.

@mattgabor I had the same issue but I solved it by moving my plugin sections (zplug) to the top of my ~/.zshrc file instead at having it at the bottom. Hope it helps!