Comments (6)
Same for me on OSX El Capitan.
from git-radar.
Probably your zsh config isn't set correctly to re-execute everytime the prompt rerenders. My .zshrc
prompt part is here: dotfiles/zsh/prompt.zsh#L11.
The important part is the:
export PROMPT=$'$(foo)'
part. The $'
ensures that Zsh re-executes the functions on render. I think alternatively you can do:
export PROMPT="\$(foo)"
The \
would escape the $
and so prevent the function from being executed until Zsh eval
s the PROMPT on render.
from git-radar.
I was seeing this issue also. +1 for the fix above
from git-radar.
I just copy pasted from the readme:
export PROMPT="$PROMPT$(git-radar --zsh --fetch) "
escaping the $ did work:
export PROMPT="$PROMPT\$(git-radar --zsh --fetch) "
from git-radar.
Thanks the quick reply. Sounds like you have found a fix. Unfortunately,
I won't be able to confirm until Monday.
On Fri, Aug 28, 2015, 8:10 AM Mattias Lyckne [email protected]
wrote:
I just copy pasted from the readme:
export PROMPT="$PROMPT$(git-radar --zsh --fetch) "escaping the $ did work:
export PROMPT="$PROMPT$(git-radar --zsh --fetch) "—
Reply to this email directly or view it on GitHub
#28 (comment)
.
from git-radar.
@olyckne ahh, I've messed up the readme. OK, I'll close this issue and open a fresh one to describe the problem. Afk at the moment but I'll rewrite it tonight.
from git-radar.
Related Issues (20)
- is_cwd_a_dot_git_directory:1: = not found HOT 7
- Promote new Maintainers HOT 4
- Calling Formula.sha1 is deprecated! HOT 4
- Calling Formula.sha1 is deprecated! HOT 2
- Not upstream indicator taking up too much space HOT 12
- problem with fish HOT 2
- Weird issue with Makefile HOT 2
- Running git-radar --bash is slow HOT 3
- Fish - LS is completely bugged HOT 2
- command overlaps prompt with stash HOT 1
- odd sed error on branches named with multiple / characters HOT 7
- have to pull twice to update a work branch HOT 22
- Made a new lightweight stable version of git-radar HOT 2
- weird characters show up with git-radar on mac os x HOT 8
- fatal error messages with git-radar on local untracked branches HOT 11
- Unhandled git error when a tracked upstream branch is removed HOT 2
- 0.6 upgrade issue HOT 3
- feature req: color prompt red when folder not writable HOT 1
- Reduce the number of binaries needed to be added to the path HOT 3
- cd .git/ produces fatal: /usr/lib/git-core/git-stash cannot be used without a working tree HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-radar.