You can add options if what you use isn’t there. :)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I use Bash and I’m open to people explaining why a different shell would make a difference for me, unless it’s a matter of preference? For instance I’m not a huge Arch zealot, but by now I know all the pacman commands and I don’t see the point of switching.
I would recommend installing fish and just launching it in your terminal (just run ‘fish’), to play around with it.
Fish has a lot of convenience features set up / enabled by default, so you can get a good impression of what’s possible without too much trouble setting it up.
You may prefer going with zsh + oh-my-zsh for the long-term, as fish’s syntax is only similar to bash, not entirely compatible with it (they actually try to improve on it), and zsh is striving for bash compatibility, it’s just more work to get it set up with all of the features.
happy fish user :)
BASH because I’m still not very good at it and I’m scared of using other non-defaults lol
not being good at bash might be a good reason to try non defaults. zsh and fish have much nicer autocompletion by default, without you needing to know how you like everything configured. that being said, if you want to learn more, try making yourself a basic .bashrc and thinking about how the options you set might help your productivity
omg same xD
I use bash because it’s the default and the alternatives are not that much better that it’s worth switching.
when writing scripts, I mostly use Bash or posix sh, but I recently switched from Zsh to Fish for other uses. Also interested in how Nu is developing
Let me tell you about xonsh.
It’s a modern full python programmable shell and it’s awesome! I’ve been using it for 2 years now and while it has some support issues having a full-blown python in your shell is just so convenient!
There are lot of brilliant UNIX tools like
grep
,jq
etc. however often I find myself in a place where I feel I could write 2 lines of python faster and easier than researching and messing around with processing tool such asjq
— if you get this feeling thanxonsh
is the shell for you!Example of common use case, renaming files:
Here we glob through files recursively and suffix
.bak
to every one of them.Xonsh gives you a lot of flexibility in your shell and you should give it a go. There’s a web-based playground on https://xon.sh homepage that you can spin up to try xonsh hassle-free!
Xonsh is great but it still doesn’t feel ready for production usage. I think you still can’t delete stuff from history which is a deal breaker for me.
Started off using zsh pretty early-on, then went back to bash up until about a month ago when I decided to check out fish.
I use fish mainly because it has contextual autocomplete based on the folder.
Gnu Bash. Tend to use the defaults on my system (Fedora), since I prefer to spend my time doing work and not fidgeting with various system tweaks. 😈
I also use bash - I tried zsh, but there was a startup delay I couldn’t stand.
Plus, bash has a lot of features that you just need to turn on (mostly using shopt) - things like autocd, cdspell/dirspell, cmdhist, direxpand, extglob, globstar, histappend, should probably just be on by default these days, as well as a HISTTIMEFORMAT that includes date and time.
bash, I use for loop, stdin/out redirection and conditional operator somewhat often and I put them in script if I use a snippet a lot
zsh
with starship as my prompt. on my main PC it looks like this:sort of not related because it’s shell-agnostic, but I really like starship because it has a bunch of cool plugins. e.g. at work, I have k8s and AWS plugins enabled, so it looks like this:
deleted by creator
np! highly recommended, it’s fast too.
And it should get even faster: The devs are planning to address the major bottlenecks for 1.0 and do a ground up rewrite for 2.0. async prompt support is considered.
oh nice, that sounds awesome
fish all the way!
zsh/fish depending on which computer
zsh