What's your excuse for not using fish shell, Jow Forums?
What's your excuse for not using fish shell, Jow Forums?
Other urls found in this thread:
github.com
fishshell.com
twitter.com
im using oh-my-zsh
same. It's comfy
bloated garbage
That's true I admit. for a true /minimal/ shell that's still fairly easy to use interactively, try mksh
I think zsh is fine, oh-my-zsh is the problem.
Just try running time zsh -c exit with oh-my-zsh installed and tell me that is an acceptable result for a fucking text prompt lol
It's cool, but slow, even on my modern desktop.
Try fish, you won't be disappointed.
How's your 386 doing?
It's so cool that it reads man files and auto-generates auto-completion.
oh-my-zsh takes well over a second to open even on recent CPUs.
I guess if you are a shell babby and are fine with running just one prompt (probably to type screenfetch into), that is no problem.
If you are a power user and need a terminal multiplexer to get shit done, it's unacceptable.
Also, zsh is not oh-my-zsh; zsh perf is fine.
> oh-my-zsh takes well over a second to open even on recent CPUs.
This is not `zsh` or `oh-my-zsh`, dumbass.
It taking well over 1 sec is the main reason I'm not using it.
k?
Have you tried reading comprehension before?
Carefully read and/or and you might discover that I state multiple times that zsh is fine and oh-my-zsh is bloated garbage. Fucking moron.
bruh, is using oh-my-zsh. What's the problem?
There is no indication whatsoever that the screenshot shows the oh-my-zsh package.
Prompt can be archived in numerous other ways and there is no way oh-my-zsh has this perf.
does "I haven't encountered a problem with" or "I'm too lazy to switch from" bash count?
Stage 1: Denial
I use elvish
bloat
use rc
But I already do.
Don't bother with the brainlet, zsh is fast, the thing is that when you install zsh, it starts to become slow.
It's really oh-my-zsh
Translation: I only use shell for fetch, so I don't need anything more than the basics.
I use openbsd-pdksh and mksh
I've only ever used Bash. Why should I use a different shell?
some might be faster/lighter. Others may have more helpful tab completion, some may have their own additions/changes for shell scripting, etcetc
I appreciate the effort but if this is real you are probably running it on some kind of HPC cluster, lol.
The web is full of articles on how to to optimize omz perf to have acceptable levels, and the github issue page tells the same story. Hell, even the fucking maintainer admits it is a bloated piece of garbage by now.
Note that it is possible to have good performance while still using some plugins from oh-my-zsh by using something like zplug, which might be what's happening in the screenshot.
Because I'm using zsh with my own configs that give me all the features I want from oh-my-zsh without actually running that bloated piece of shit
Also I don't want my shell being incompatible with everything for no reason
nope, just a regular install on a 6 year old MBPr
fish: have both: performance and niceties of OMZ, because the functionally is built-in and not through a vast amount of scripts that start lots of processes.
same here. from what I understand, the difference in shells is really for scripting
Ok, kind of a fuckup on my part.
Try time zsh -ci exit (without i, the shell returns immediately).
Just tried it on a pretty beefy machine (1k Cinebench R15) and it takes about 0.3s. Passable, but this will easily be >1s on a laptop, which makes it unusable for power usage.
True. When I had tried it, I thought 1s will be fine, but within 10 minutes I removed it as it really becomes an issue for a heavy shell user.
Oh god no. If that was it, I'd stay on bash as it's far more portable.
But fish is so much better for interactive use. It's like a tricked out oh-my-zsh config, but comes that way out of the box.
for me and the other poster, explain the usability difference between shells
here you go
It is possible to have a "fish experience" on zsh [github.com
Where the FUCK is the proper documentation of this. Just a shitty online page with no index. No pdf, no decent info page. What am I missing?
>when google offer better navigation to a site than the site itself
fishshell.com
If you run this from outside zsh (which is what happens when you use tmux or screen), you can add some 30-50% init time to that.
500ms for a text prompt still seems really bad to me.
you have gotta be retarded
idk what that is
ehh I've been using it forever and don't really see the point in changing now. I do see what you mean though, and would definitely use a lighter shell in future on other systems.
btw, what's the best /minimal/ shell?
Wrong command, use time zsh -ci exit
cmon man what is that gonna do
Is this fast enough? I use oh-my-zsh since first linux install and it's working pretty fast in my opinion, but i can not compare to others. My CPU is also pretty old.
eshell > *
wow, even in bash. this is so fucking dumb
You can keep using oh-my-zsh plugins while trimming the rest with something like zplug (there are alternatives but afaik this one has the best perf), but if the current perf does not annoy you I wouldn't bother.
Yeah... use it for a month...
Because I'm proficient with BASH.
Well that's a beefy machine running a trimmed down Linux, hardly surprising.
is this supposed to mean something? i like the themes, the alias plugin, the git plugin, etc. i have never noticed slowness except maybe 10% lag using neofetch. i've been using it for many months, probably a year at this point. it may be bloated but its nice and works well.
cpu is 8x1.8 min, it shows as 4ghz for some reason
If it works for you don't bother, unless you like autistic ricing
(It seems the performance of oh-my-zsh on OS X is way worse)
Didn't Fish not even have && and || operators until recently? How are supposed to script in this? I use the shell I script in, which is Bash. This allows me to write one-liners from the CLI with familiarity.
fucking truth, thanks.
Because fish is shit
It refuses to comply with any established standard
And is unusable as a login she'll
So it is just a meme
>oh-my-reddit
It also does not have the !! Operator
>zsh -c exit 0,00s user 0,00s system 91% cpu 0,008 total
How is it?
it's not POSIX compliant and writing anything in it is awful
ALL THREAD BTFO!
P O S I X
O
S
I
X
Because Bash is the default and works fine for scripting and launching programs like the package manager or text editors. Why would I use Fish? Looks like hipster shit.
Wow, you jumped to Stage 3: Bargaining
I guess you skipped stage 2.
Using tmux
Brainlet, if you want to script in bash, you script in bash and use what shell you want.
I actually do. I used to use pretty customized zsh but fish includes all the shit I added by default and is faster. Plus, the auto completion makes more sense for some reason.
Because the auto completion and configuration is much better than bash. Also much more handy doing normal shell stuff.
There is literally no reason to use anything but bash, anything else is just hipster "I want to be different" shit.
>defining aliases as functions
fish is fucking dumb, I'd use another shell but I'm too lazy to change it desu.
I'd have to install bash. Why bother shitting my system up with unnecessary GNU software?
Not bad
HURR DURR you can define alias as usual like bashrc.
>Captura de ecrã 2018-06-26, às 22.48.41.png
FILS DE PUTA
It's harmful, bloated trash. My computer is pretty modern, yet the numales somehow still managed to make something that was perfectly fine in 1970 visibly slow
use es
rc is more powerful and concise than any bourne shell clone
I’m allergic
>es
neat, I'll try it
Nice one neil
>Captura de ecrã 2018-06-26, às 22.48.41.png
you have to go back.
you have to go back.
this. zsh is on-par with fish but doesn't have all the retardation and incompatibilities.
I'm yet to find a reason why I should switch from zsh to fish. zsh does it all and better.
Reddit isn't a prerequisite to run OS X
Non-POSIX is awkward. I use zsh and my own custom but minimal .zshrc (rather than something bloated like oh-my-zsh).
certainly not compared to fish
Taking the bait: literally 'and' and 'or'
aliases are provided as compatibility
the actual "intended" alias functionality in fish is given by abbreviations instead
I'm not an autist.
Bash works perfectly fine for all I need.
Bash does everything I need and is everywhere.
>es
>rc
got anything that is at least bourne/posix-compatible?
oh-my-fish is sick as fuck
only think is the non-POSIXisity (i.e. $ shit)
give me one convincing reason to use anything other than good ol bash
posix is limiting
but i like mksh
Me too. Was just wondering if you had any other suggestions.
Oh and make sure it's mksh. Not ksh93. ksh93 is actually heavier than bash from my estimation. Although I do hear it adds some really interesting floating point math stuff to shell scripting.
Bash is fine and the new shells aren't being used outside of autists trying to rice out their home computers.
Went to bed, dunno if you're still around, but
I still have to use bash semi-regularly and some of the major differences I can currently think of:
>Type in the first part of a command and hit up
Bash: scrolls to previous command in history
Fish: scrolls to previous command in history but only matching what you've typed.
>Type in first post of a command and hit tab
Bash: shows you stuff, sometimes
Fish: shows you stuff, let's you search dirs, shows man page info if relevant
Can't think of anything else right now, sitting on a bus and my old Termux still has oh-my-zsh (I'm a recent convert after seeing a Fish post on HN around January)
You can tell yourself that all you want but you're still wrong
oh no it takes 40ms to close my shell, what I'm gonna do now mom.
It’s about how much time does it take to start a new prompt.
zsh isn't gpl so I'm pondering it OP!
This.