this post was submitted on 28 Aug 2023
189 points (97.5% liked)
Linux
48697 readers
1392 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 did 4 things, that helped me a lot:
alias cem=’cd /home/drops/.config/emacs’
alias. .=’cd. . && ls’
Three points for two levels up, etc...
Name all directories lowercase, 3-5 letters long, and try to avoid directories with the same starting letter as siblings That way you can use tab completion with just a single letter
Use the option to jump to subdirectories of /home/user from everywhere.
Instead of aliases, I use variables that I set in my .bashrc.
For example, on WSL I have
export WINDOWS_HOME=/mnt/c/Users/username
. Then I can justcd $WINDOWS_HOME
. Orcp $WINDOWS_HOME/Downloads/some_file .
Instead of aliases, I just have lots of symlinks in my homedir.
I do have
..
and...
aliases though.Mostly if I'm gonna work with files I just use
ranger
, or FZF from my shell to find stuff.Ranger looks like how my brain wants to work. I'll have to check that out. I like the idea of symlinks too.