iam4x / zsh-iterm-touchbar

Display feedback of terminal in the 🍏 Touchbar
MIT License
689 stars 75 forks source link

if I'm not on the function layer on the touchbar, I get errors #3

Closed jtmkrueger closed 7 years ago

jtmkrueger commented 7 years ago

here's what I see:

precmd:23: command not found: spaceship_git_uncomitted
precmd:24: command not found: spaceship_git_unstaged
precmd:25: command not found: spaceship_git_untracked
precmd:26: command not found: spaceship_git_stashed
precmd:27: command not found: spaceship_git_unpushed_unpulled

once I switch to the function layer, these go away. It's bothersome because if I leave iterm and come back, I'm kicked out of the function keys layer on the touch bar.

jtmkrueger commented 7 years ago

Hm, perhaps it's not related to the function layer. Check this out:

~/Code/brivity-core  email ✔                                                                                                                                                                                                                                                                                                                                                                                                           4m
▶ cd

~
▶ cd Code/brivity-core
precmd:23: command not found: spaceship_git_uncomitted
precmd:24: command not found: spaceship_git_unstaged
precmd:25: command not found: spaceship_git_untracked
precmd:26: command not found: spaceship_git_stashed
precmd:27: command not found: spaceship_git_unpushed_unpulled

~/Code/brivity-core  email ✔                                                                                                                                                                                                                                                                                                                                                                                                           4m
▶

I was on the function keys on my touchbar too.

iam4x commented 7 years ago

It should have been fixed, can you:

$ cd ${ZSH_CUSTOM1:-$ZSH/custom}/plugins/zsh-iterm-touchbar && git pull

Or re-install the plugin?

jtmkrueger commented 7 years ago

ah, yes. sorry, I hadn't reloaded that window yet!

iam4x commented 7 years ago

No problem, glad it works 👍

Feel free to open issues for requesting features, rushed this experiment last night so more to come!