Live data from Hacker News

Migrate From Oh-my-zsh to Prezto

jeromedalbert.com

11–20 of 32 posts

Re: Migrate From Oh-my-zsh to Prezto

#11
post #4

Is it actively maintained? The article is from May 2014 and last commit in repo is 4 months ago.

Looks active to me: the repo owner actively participates in bugs/PR opened days or hours ago. As for the article, I started it in May, forgot about it, then released it today. Hence the May 2014 date.

Re: Migrate From Oh-my-zsh to Prezto

#12
post #10
post #2

While this looks interesting, the main premise that oh-my-zsh is slow doesn't seem to hold up for me. I have a decently quick system, but nothing extreme and I don't notice much more lag with auto completion than I did with bash or fish. And I use auto completion excessively, and I'm not sparse with my oh-my-zsh plugins: plugins=(git golang archlinux catimg common-aliases compleat dircycle dirhistory sudo systemd url…

yea oh-my-zsh isn't that slow, most people who think it is slow either have it misconfigured or have a really, really slow system

[deleted]

Re: Migrate From Oh-my-zsh to Prezto

#13
post #10
post #2

While this looks interesting, the main premise that oh-my-zsh is slow doesn't seem to hold up for me. I have a decently quick system, but nothing extreme and I don't notice much more lag with auto completion than I did with bash or fish. And I use auto completion excessively, and I'm not sparse with my oh-my-zsh plugins: plugins=(git golang archlinux catimg common-aliases compleat dircycle dirhistory sudo systemd url…

yea oh-my-zsh isn't that slow, most people who think it is slow either have it misconfigured or have a really, really slow system

I ran a little comparison with both Oh-my-zsh and Prezto with roughly the same plugins: http://i.imgur.com/cDSRZuO.png. There's almost a 0.4s difference. In practice it makes for a noticeable 0.5-1s difference (with all the other stuff I have in my .zshrc).

Re: Migrate From Oh-my-zsh to Prezto

#14
post #2

While this looks interesting, the main premise that oh-my-zsh is slow doesn't seem to hold up for me. I have a decently quick system, but nothing extreme and I don't notice much more lag with auto completion than I did with bash or fish. And I use auto completion excessively, and I'm not sparse with my oh-my-zsh plugins: plugins=(git golang archlinux catimg common-aliases compleat dircycle dirhistory sudo systemd url…

[deleted]

Re: Migrate From Oh-my-zsh to Prezto

#15
post #10
post #2

While this looks interesting, the main premise that oh-my-zsh is slow doesn't seem to hold up for me. I have a decently quick system, but nothing extreme and I don't notice much more lag with auto completion than I did with bash or fish. And I use auto completion excessively, and I'm not sparse with my oh-my-zsh plugins: plugins=(git golang archlinux catimg common-aliases compleat dircycle dirhistory sudo systemd url…

yea oh-my-zsh isn't that slow, most people who think it is slow either have it misconfigured or have a really, really slow system

I tested opening a new iTerm 2 tab on my late-2009 MBP and it takes 3.5-4s for the prompt to appear with oh-my-zsh enabled.

I would love to know what I've got misconfigured.

Re: Migrate From Oh-my-zsh to Prezto

#16
post #15
post #10

Earlier quoted context omitted.

yea oh-my-zsh isn't that slow, most people who think it is slow either have it misconfigured or have a really, really slow system

I tested opening a new iTerm 2 tab on my late-2009 MBP and it takes 3.5-4s for the prompt to appear with oh-my-zsh enabled. I would love to know what I've got misconfigured.

Definitely not a misconfiguration. I had the exact same issue after a certain period of time with every fresh install. The solution was switching to Prezto / fish (work / home respectively).

Re: Migrate From Oh-my-zsh to Prezto

#17
post #2

While this looks interesting, the main premise that oh-my-zsh is slow doesn't seem to hold up for me. I have a decently quick system, but nothing extreme and I don't notice much more lag with auto completion than I did with bash or fish. And I use auto completion excessively, and I'm not sparse with my oh-my-zsh plugins: plugins=(git golang archlinux catimg common-aliases compleat dircycle dirhistory sudo systemd url…

I haven't measured it directly but I definitely noticed a speedup when I switched to zsh, probably in the 0.2s-0.4s range. I probably actually slimmed down a bit, I don't have any plugins and my .zshrc is mostly aliases and path management.

Re: Migrate From Oh-my-zsh to Prezto

#18
post #10
post #2

While this looks interesting, the main premise that oh-my-zsh is slow doesn't seem to hold up for me. I have a decently quick system, but nothing extreme and I don't notice much more lag with auto completion than I did with bash or fish. And I use auto completion excessively, and I'm not sparse with my oh-my-zsh plugins: plugins=(git golang archlinux catimg common-aliases compleat dircycle dirhistory sudo systemd url…

yea oh-my-zsh isn't that slow, most people who think it is slow either have it misconfigured or have a really, really slow system

I have a fast system (Core i5, SSD), but tab completion is often very slow.

I just checked my `oh-my-zsh/plugins` directory, and there are 173 plugins, most of which I don't need.

Should I purge them?

Edit: browsing through the (oh-my-)zsh files, I can see that it only loads the plugins found in the `plugin` environment variable, so I guess the answer is no. The only plugin enabled is `git`.

My theme is also very basic (git and mercurial status).

Any advice to improve performance?

Re: Migrate From Oh-my-zsh to Prezto

#20
post #8

Why not just contribute the optimisations back to ohmyzsh? This was made to be a drop in replacement anyway.

If I remember correctly zprezto started as a huge pull request to oh-my-zsh that the author rejected. You can probably find it in the closed issues of oh-my-zsh.
Post reply on HN