this post was submitted on 21 Jul 2023
29 points (91.4% liked)
Linux
48145 readers
823 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 type in a command without sudo, I prefer to type in a
sudo !!
rather than to up arrow, then do Ctrl+A then type sudo and press Enter, for example. I wanted to install Nix earlier, but I needed to be in a POSIX shell for it to work, so I had to switch to bash for the installation. Those are just 2 examples from earlier today, and while you can learn to deal with them, it would juat be more effective to use a POSIX shell instead. It also means I can just set it as my login shell instead of having each of my terminal keybinds askitty -e fish
, across all of my many window manager configs. Fish is faster, but I'm not sure if the cost is worthwhile.Fish has a hotkey for this built-in, just hit Alt + S.
The login shell troubles are very valid however. I worked around them by modifying my .bashrc to drop me into fish, and it has been working pretty well for me so far.
The linked solution also handles only launching fish if the parent process is not fish, so you can still access bash easily for when you really need it.
Thank you for your suggestions, but zsh has been treating me very well, so I think I'll stick with it for now.