Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use command prompt #894

Closed
aishalih opened this issue May 29, 2015 · 8 comments
Closed

Can't use command prompt #894

aishalih opened this issue May 29, 2015 · 8 comments

Comments

@aishalih
Copy link

I've just installed prezto, and when I want to use prompt command, it says zsh: command not found: prompt, I've check the module and the prompt module is already installed, Did I miss something?

@sorin-ionescu
Copy link
Owner

The prompt module should be last in the module loading list in zpreztorc. It doesn't look like you installed it properly. Check the rc files.

@aishalih
Copy link
Author

Here is my rc, I leave it default, haven't installed any module.

zstyle ':prezto:load' pmodule \
  'environment' \
  'terminal' \
  'editor' \
  'history' \
  'directory' \
  'spectrum' \
  'utility' \
  'completion' \
  'prompt'

In prezto's page, I've read the Troubleshooting part

If you are not able to find certain commands after switching to Prezto, modify the PATH variable in ~/.zprofile then open a new Zsh terminal window or tab.

Where should I point the PATH to? If i use Ubuntu Linux.

@sorin-ionescu
Copy link
Owner

Is it in your home directory?

@aishalih
Copy link
Author

yes, all of .z* are in home directory, include .zprezto directory

@sorin-ionescu
Copy link
Owner

Ensure that you don't have old files. Check to see if the runcoms were linked properly.

@aishalih
Copy link
Author

I reinstall it and everything goes well, thanks Sorin.

@ruthmpardee
Copy link

Hi @sorin-ionescu I'm facing this same issue. In the troubleshooting tips duplicated at the top here, I also don't understand where to point the PATH to. I'm using Mac OS X.

How do I ensure I don't have any old files? I don't know what Check to see if the runcoms were linked properly means.

Thanks for any help!

@ezintz
Copy link
Contributor

ezintz commented Sep 15, 2018

The solution should be actually very simpel. Just check your home directory for any .z* files, if you find any and are not sure about deleting them create a backup. Afterwards just remove than and run through the installation routine again. Check that everything works properly and move your previous configuration (I recommend doing it step by step) to the newly created files e.g. .zshrc.

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

No branches or pull requests

4 participants