Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

command not found: _prompt_segment #299

Closed
dogjaw2233 opened this issue Aug 5, 2016 · 5 comments
Closed

command not found: _prompt_segment #299

dogjaw2233 opened this issue Aug 5, 2016 · 5 comments

Comments

@dogjaw2233
Copy link

whenever the prompt opens just before it returns the error:

prompt_vcs:68: command not found: _prompt_segment

the full output is:

rustystuff git/  master 7s
prompt_vcs:68: command not found: _prompt_segment

dogjaw2233@craigmatic ~/projects/rustystuff [9:17:44]
dogjaw2233@craigmatic  ~/projects/rustystuff  rustystuff/.   ✓  55  09:17:44

am i missing some dependency? im using oh my zsh by the way

@bhilburn
Copy link
Member

@dogjaw2233 - Well, this is bizarre.

Can you share your PL9k configuration (if any)? Also, how did you install the powerline fonts? And are you using a framework or just vanilla ZSH?

@dogjaw2233
Copy link
Author

sorry, I forgot to close the issue. the issue went away after reboot. sorry
for wasting your time.

On Thu, Aug 11, 2016 at 5:38 PM, Ben Hilburn notifications@github.com
wrote:

@dogjaw2233 https://github.com/dogjaw2233 - Well, this is bizarre.

Can you share your PL9k configuration (if any)? Also, how did you install
the powerline fonts? And are you using a framework or just vanilla ZSH?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#299 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARsfPZ153kDTl4FpWjHEnZRAfFUlL5gYks5qe14wgaJpZM4JdrPj
.

@alex-bezek
Copy link

For anyone else that stumbles upon this issue, i had something similar. Running source ~/.zshrc would then cause all commands (like ls) to print out multiple of this issue

prompt_status:32: command not found: _prompt_segment
prompt_history:1: command not found: _prompt_segment
prompt_time:3: command not found: _prompt_segment
prompt_status:32: command not found: _prompt_segment
prompt_dir:245: command not found: _prompt_segment
prompt_rvm:5: command not found: _prompt_segment

I found running login fixes it. Opening new iterm2 tabs doesn't seem to have this issue as it logs you in when you make a new tab.

@romkatv
Copy link

romkatv commented Dec 26, 2019

Don't use source ~/.zshrc. Use exec zsh instead.

@alex-bezek
Copy link

awesome, thanks @romkatv !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants