This is not so much an issue, rather a question. How would I uninstall Prezto? How should I proceed? Is it just rm -rf ${ZDOTDIR:-$HOME}/.zprezto and then chsh -s /bin/sh?
May I inquire as to why you wish to uninstall it?
Just remove all the .z* files and directories in $HOME then chsh -s /bin/bash or whatever your default shell is.
I really love Prezto. :heart: It made my life a lot easier. But it did come with costs. Life was too easy. Way too easy.
Another reason was that the theme that I chose for Prezto was incompatible with TMux. I was too lazy to find/ make a suitable theme for my purposes, and it broke my Python virtualenv in some cases. So I wanted to uninstall Prezto to checkout if the Python virtualenv issue was Prezto related or due to some mistake on my part.
And also I have it installed on Ubuntu 11.10 (works smoothly on 13.10) but it was faster than Oh-my-Zsh at first then after a couple of months of use it became slow in suggesting git branches and folder/file names.
It's easier to make a new user for testing purposes. The Zsh Git completion is slow because it does so much more than the BASH completion. You can speed it up by adding the following.
function __git_files {
_wanted files expl 'local files' _files
}
If you have a lot of folders inside of a folder, completion can take a while.
Ah yes... I overlooked that... Silly me... Guess I shall proceed with creating another user.
You can speed it up by adding the following.
Uhm... Where do I add that function? Inside ~/.zprezto/modules/git/init.zsh or inside a specific file under ~/.zprezto/modules/git/functions/ ?
Anywhere. You can add it in zshrc or modify the Git module. Test it..
Thanks :smile: I added it to the zshrc and I seem to have a noticeable increase in completion speed already. WooHoo!!!
Instead of suggesting files based on git status, it now just suggests all files in the directory. Hence why it's faster.
Oh ok... That function looks like a bunch of magic. :confused: Is there some place that I can read more about this so that I understand what is actually going on in that function?
You have to read about zsh completion, it's quite hard because the documentation it's hard to read, and there aren't too many examples. Anyway, man zshcompsys :P.
No manual entry found :(
@PaBLoX-CL Very funny :tongue: I did google it after I put this comment.
Thanks for the topic. just tried installing it because of all the hype about how faster this is compared to oh my zsh ... at least oh my zsh has better instructions on the install. "Hey add these lines to your zsh config" oh okay "now open a new terminal window" oh okay "failed to create symbolic link zshrc already exists" sweet it already failed ... I am out