this post was submitted on 11 Jul 2024
52 points (94.8% liked)
Linux
48318 readers
857 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
Over time your collection of aliases and scripts will grow to make common tasks you do easier.
I disagree on the aliases. I'd recommend using almost none. It builds competence with the commands on all systems even without your special .bashrc. It'll be easier to write scipts and change shells as well.
I use fish abbreviations. Unlike bash/zsh aliases, they expand when you press space or enter. This way you see the original command every time you use the alias, and you can edit as well. This should lighten the concern you have a bit. Your concern is something that sysadmins keep in mind e.g. default vim bindings so you are always comfortable on any server. However for desktop use I don't think leaving the speed and comfort on table is worth it. Most desktop users only use their own systems anyway.
It's about building muscle memory as well though. You are right that many home-gamers will probably never be without their customizations though. But if you do re-installs, setup VMs, try new distros, etc. it's beneficial.
Just my opinion though.
That really depends on what you're doing. It's only really useful when you're regularly SSH-ing into other machines for work. Otherwise you're wasting time every day so that you might save a second once every few years.
Great list. Customizing the font is definitely a priority. I recommend one of the Terminus fonts. Also zellij multiplexer + helix editor is a great combo that works well in the tty.
One thing to add is that it took me a while to create a decent 16-color theme for helix and vim, and while they're okay by default you can actually get a pretty nice looking IDE if you spend some time tinkering with the colors
+1 for the Terminus + zellij + helix combo
How does zellij do copy and paste? That's the only thing keeping me from diving into tmux (beyond using it as a persistent terminal).
I'm not sure how to paste directly into a pane, but you can copy by opening up the scrollback in EDITOR from search mode using
Ctrl+S e
. This creates a file in /tmp so I try to make sure to clear it when I'm done.I usually only copy and paste between editor windows using a script that mimics xclip (automatically used by helix), and if I need to paste a command I either edit my bash history or write a script.
Thanks a lot, I'll definitely try the terminal multiplexers you're talking about. I wondered how you would get different windows in tty.
Byobu provides good abstraction on tmux as well as screen. Allows you to choose keybindings from any of the two.
I really enjoy byobu, especially since it has nice colors and is a mature well supported project
Well, there's twin.