Hello, i used this prompt for a long time, usually i never completly shut down my iMac, today i've installed an update and now my preprompt is not displayed! what this can be?
I was about to post the same, the path is not displayed
a image:

I've 'fixed' it but not resolved, i've copied preprompt in the .zsh-theme file and called it in the prompt but is all in line... I have another file who is bigger but if i use it like a theme, it gives me that
prompt_pure_setup:11: async: function definition file not found
prompt_pure_async_tasks:3: command not found: async_start_worker
prompt_pure_async_tasks:4: command not found: async_register_callback
Here an image of my provisional fix:

That sounds very weird.
What did you update, macOS?
Could you both answer the following questions:
On Sat, 24 Sep 2016, 3:19 am Federico Vitale, [email protected]
wrote:
I've 'fixed' it but not resolved, i've copied preprompt in the .zsh-theme
file and called it in the prompt but is all in line... I have another file
who is bigger but if i use it like a theme, it gives me thatprompt_pure_setup:11: async: function definition file not found
prompt_pure_async_tasks:3: command not found: async_start_worker
prompt_pure_async_tasks:4: command not found: async_register_callbackHere an image of my provisional fix:
[image: schermata 2016-09-24 alle 02 18 34]
https://cloud.githubusercontent.com/assets/16429579/18804589/35fac034-81fd-11e6-9e94-88fdce6187aa.png—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sindresorhus/pure/issues/234#issuecomment-249330702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI_0Vg3ype0vEAXpAJ_2y6jyOSj-e3iks5qtGx0gaJpZM4KFfEv
.
I've update to Sierra, yes i have the latest, none modification except the "fix", now i'll try to reinstall, i use zsh oh-my-zsh,
my zshrc from line 1 to 14:
fpath=( "$HOME/.zsh/functions" ${fpath[@]} )
//If you come from bash you might have to change your $PATH.
//export PATH=$HOME/bin:/usr/local/bin:$PATH
//Path to your oh-my-zsh installation.
export ZSH=/Users/Rawnly/.oh-my-zsh
//Set name of the theme to load. Optionally, if you set this to "random"
//it'll load a random theme each time that oh-my-zsh is loaded.
//See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
autoload -U promptinit && promptinit
ZSH_THEME="pure"
@Rawnly, I had the same issue until I removed the ZSH_THEME="pure"-line and added:
autoload -U promptinit; promptinit
prompt pure
And suddenly everything was back to normal :)
@Rawnly
I have another file who is bigger but if i use it like a theme, it gives me that
...
You need this bigger file, I'm quite sure, since it _is_ pure. The fact that you get async errors when you try to use it tells me that the only thing missing is async from your $fpath.
Make sure you either npm install --global pure-prompt or follow the manual instructions in the readme to make sure async is in you $fpath.
I think we need to update the oh-my-zsh instructions, the previous instructions were clearer.
@mafredri solved with the previous instructions 👍
@mafredri Thanks! Solved! @tjoskar try this method!
Great, glad to hear it @Rawnly and @unluisco!
Most helpful comment
@Rawnly, I had the same issue until I removed the
ZSH_THEME="pure"-line and added:And suddenly everything was back to normal :)