this post was submitted on 29 Dec 2024
218 points (99.5% liked)
Linux
48823 readers
741 users here now
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.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I just set Fish as the shell that my terminal emulator should launch. The actual default/system shell can stay Bash. And then, yeah, if you put Bash into the shebang, all the scripts will run with it, and you can just execute
bash
in your Fish shell at any point to drop into a Bash shell.Occasionally, I'll realize some syntax discrepancy where I've kind of learned it the Fish way, but because I'm only using Fish interactively, there's really not a ton of syntax that I'm interacting with.
And yeah, ultimately I find it well worth it. In particular the history-based auto-suggestions are really useful. People will ask me what that command was again and I'll start typing into my shell and it just pulls out exactly what I wanted in quite a lot of cases.
Who asks about your history? Genuinely curious.
Well, I'm talking about my team members at my dayjob. I'm a software engineer.
But it's also a lot less explicit than what you're probably imagining. It's rather that we have a meeting and realize that a problem re-occurred which we thought we solved months ago. So, then everyone starts collectively scratching their head and somewhat rhetoric questions might be thrown into the room, i.e. "Oh man, do you still remember how we did that?".
Then I might start typing the command how I think it would probably begin, often with the intention of then putting
--help
at the end to try to jump-start my memory. And then that's where Fish often jumps in and tells me that I'm apparently typing the exact beginning letters of the command that we used a few months ago.Sometimes this even happens when I have no recollection that I ran a given command before, and someone's just generally asking how to do a certain task...
I've shared commands with friends and they ask for them again. I imagine similar context here