Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 948 forks source link

`__p9k_segment_should_be_printed` command not found prompt with tmux sessions #1270

Open Zeta611 opened 5 years ago

Zeta611 commented 5 years ago

Describe Your Issue

What is happening? The following

p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed

is printed multiple times without showing p9k segments, with new tmux sessions.

스크린샷 2019-05-13 11 18 54

Have you tried to debug or fix it?

This started to happen about a week ago(, probably after I updated the plugin via zplug update).

Environment Information

This information will help us understand your configuration.

Zeta611 commented 5 years ago

Maybe #993 is related?

Zeta611 commented 5 years ago

I'm also getting the following prompts:

p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
prompt_dir:60: command not found: __p9k_get_unique_path
prompt_dir:61: command not found: __p9k_get_unique_path
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
lp9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
prompt_dir:60: command not found: __p9k_get_unique_path

prompt_dir:61: command not found: __p9k_get_unique_path
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
p9k::prepare_segment:5: command not found: __p9k_segment_should_be_printed
Evaexe117 commented 4 years ago

you should local the browsh in /usr/local/bin/browsh and start command with ./browsh

Zeta611 commented 4 years ago

@Evaexe117 What is browsh?

Evaexe117 commented 4 years ago

https://www.brow.sh/docs/config/

koka0012 commented 4 years ago

I am having the same issue, did you fixed?

Zeta611 commented 4 years ago

@Evaexe117 I don't see how this is related with 'browsh'. This has nothing to do with it.

Zeta611 commented 4 years ago

@koka0012 No, I moved on to p10k..

koka0012 commented 4 years ago

Well, I manage to fix this issue using the most old technique ever. I started to change to p10k, but i got lazy and then rollback all the changes. Suddenly it start working again.

So, I am saying that I fixed with my laziness hate.

romkatv commented 4 years ago

I started to change to p10k, but i got lazy and then rollback all the changes.

p10k recognizes all POWERLEVEL9K configuration parameters. If you want to migrate, there is no need to change anything other than the name of the theme.

koka0012 commented 4 years ago

Even my plugins?

Em ter., 7 de jan. de 2020 às 08:39, Roman Perepelitsa < notifications@github.com> escreveu:

I started to change to p10k, but i got lazy and then rollback all the changes.

p10k recognizes all POWERLEVEL9K configuration parameters. If you want to migrate, there is no need to change anything other than the name of the theme.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Powerlevel9k/powerlevel9k/issues/1270?email_source=notifications&email_token=ACYOA7MQG45RQLXACBK34CTQ4RSXJA5CNFSM4HML3LKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIITBIA#issuecomment-571551904, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYOA7MABU5FRVZTVDZ26JDQ4RSXJANCNFSM4HML3LKA .

romkatv commented 4 years ago

Even my plugins?

What do you mean by plugins? Can you give an example?

koka0012 commented 4 years ago

nvm, It was a silly question. I forgot that the plugins are for oh my zsh not for the theme.

Em ter., 7 de jan. de 2020 às 10:41, Roman Perepelitsa < notifications@github.com> escreveu:

Even my plugins?

What do you mean by plugins? Can you give an example?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Powerlevel9k/powerlevel9k/issues/1270?email_source=notifications&email_token=ACYOA7J5LYLNTC3KZBPAXMDQ4SBB5A5CNFSM4HML3LKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEII4REQ#issuecomment-571590802, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYOA7JPLIVZWS4JUCHK6QLQ4SBB5ANCNFSM4HML3LKA .