An Interest In:
Web News this Week
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
March 8, 2020 06:33 pm GMT
Original Link: https://dev.to/smokku/chsh-have-you-considered-switching-your-default-shell-4ech
chsh - Have you considered switching your default shell?
- Are you stuck with
bash
? - Have you tried
zsh
but found it too complex to set up properly? - You've never found
sh
syntax compelling?
Let me introduce you to fish
- Friendly Interactive SHell.
fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish includes features like syntax highlighting, autosuggest-as-you-type, and fancy tab completions that just work, with no configuration required.
I am using fish
as my default shell for about two years now and love it.
fish
has autocomplete for most things you can imagine built-in. And if it lacks built-in support, it scansman
ual pages and extracts auto-completion information from there.- autocomplete is context based, so the commands you typed recently in particular directory show first as suggestions.
fish
has help and config built-in in a very neat way - it launches your default browser with a page from local installation.- built-in programming language of
fish
is a modern one, without holding tosh
compatibility.
If you want to extend your local setup of fish
with easily manageable plugins and themes, just install Oh My Fish:
curl -L https://get.oh-my.fish | fish
BEWARE: fish programming syntax differ from bash
, thus one-liners you may be using will need adaptation. But fish detects most of misuse and has a helpful suggestions how you should rewrite your command.
> LANG=PL man manfish: Unsupported use of '='. To run 'man' with a modified environment, please use 'env LANG=PL man...'
Give it a try and let me know how it went.
Original Link: https://dev.to/smokku/chsh-have-you-considered-switching-your-default-shell-4ech
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To