News for hackers. Stuff that matters.
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by shpx on Thursday March 24, 2016 @12:26AM (#11350566)
If you like oh-my-zsh you'll love https://fishshell.com/. The main difference I use is better command completion as you're typing, and you can complete by word with alt-f. And ruby like syntax.

for example (| is the cursor and everything after it is grey text)

>echo hello world

hello world

>echo |hello world # alt-f

>echo hello| world

Fish and oh-my-zsh both take about 5 seconds to init though. If you don't like that you should be using prezto (which is the fork he mentions in the article)

Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by forgotpwtomain on Thursday March 24, 2016 @01:24AM (#11350760)
> Fish and oh-my-zsh both take about 5 seconds to init though. If you don't like that you should be using prezto (which is the fork he mentions in the article)

You must have a lot of expensive stuff crammed into your config.fish file, for me fish takes < 1 second to init.

Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by shpx on Thursday March 24, 2016 @06:54AM (#11351844)
A config.fish consisting of the line 'alias a=echo' repeated 200 times takes 3 seconds to start. No config file starts out in 50 ms. So my 200 aliases seem to be the culprit here. And to be fair my init time is actually a bit over 2 seconds.
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by romanr on Thursday March 24, 2016 @10:01AM (#11352812)
Can you remember 200 aliases?
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by domoritz on Thursday March 24, 2016 @01:44AM (#11350819)
http://fisherman.sh/ is the prezto of fish shell. Works great and is blazingly fast.
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by Dharmakirti on Thursday March 24, 2016 @04:14AM (#11351297)
As a Fish user since it's inception, I humbly disagree.

Oh-My-Fish[0] is the preferred and popular plugin framework for Fish. The guy behind Fisherman abused DMCA to discredit OMF, which was a pretty shady tactic for an open-source project.

[0]https://github.com/oh-my-fish/oh-my-fish

Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by bucaran on Saturday March 26, 2016 @11:09AM (#11365899)
> The guy behind Fisherman abused DMCA to discredit OMF

I am one of the guys behind Fisherman and I didn't abuse the DMCA to discredit OMF, on the contrary, I used it to have my name properly represented in their AUTHORS file.

Now, one thing I am accountable for is, spending days and weeks nurturing and improving the project when I was involved with it. I don't know where you get your facts from, but I urge you to pay a visit to the contributor graphs in the OMF GitHub page and see who's done what and how much.

> is the preferred and popular plugin framework for Fish.

Not according to reality → http://why.fisherman.sh

Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by voltagex_ on Thursday March 24, 2016 @08:47AM (#11352300)
I really want to use something like Fish (or at least try out a whole lot of not-bash, at least to force me to write /bin/sh compatible scripts) but because it's not installed by default I often don't get around to it. I really should go back to learning Ansible...
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by omtose on Thursday March 24, 2016 @06:02AM (#11351643)
>Fish and oh-my-zsh both take about 5 seconds to init though

Greatly disagree on the fish startup time, for me it takes approximately the same time as bash. Can't comment on zsh though.

Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by Spiritus on Thursday March 24, 2016 @05:20AM (#11351485)
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by tholmes on Thursday March 24, 2016 @04:50PM (#11356322)
Regarding fish startup time I had a problem with fish taking forever before. Turned out my ~/.config/fish/fishd.<hostname> file had erroneously ballooned to many megabytes. This caused a very long startup time. It should typically be a few kilobytes.
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by Something1234 on Thursday March 24, 2016 @05:21PM (#11356547)
What actually ended up in this file?
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by tholmes on Monday March 28, 2016 @11:28AM (#11374815)
I actually never looked inside! I deleted all of those files without looking in them. Only after my performance improved did I check my scrollback and notice it was huge :(
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by cosarara97 on Thursday March 24, 2016 @02:00AM (#11350868)
Prezto is not terribly fast either, in my experience. I went from oh-my-zsh to prezto, and from there to a simple config, always just to reduce bloat.
Re:D'Oh My Zsh – How I unexpectedly built a monster of an op... by autoreleasepool on Thursday March 24, 2016 @07:33AM (#11351966)
The unit times definitely depends on how trim you keep your configure. My OMZ takes about 1-2 seconds to init on my slowest machine