r/linux4noobs • u/SandvikDude • Jun 12 '26
shells and scripting Fish shell abbreviations is a godsend
Hi!
After my migration from Windows to Linux two or so months ago, I've been trying to learn how to use the terminal and be somewhat efficient and know about the basic functions like rm, mv, cp, ls, ln and such.
I've known about terminal aliases a while, but I found out about abbreviations on Fish yesterday and I absolutely love that feature.
Got any suggestions on other abbreviations/aliases I should use, or even other QoL features that I might not know about? Happy to learn!
•
Upvotes


•
u/AiwendilH Jun 12 '26 edited Jun 12 '26
alias ..="cd .."is not needed in fish (shell)...it does that already by default.Personally I avoid
aliasas it hides what exact function is created....but that's just a personal preference i guess.I also like it better to have one file per function in
.config/fish/functionsinstead of all in fish.config, but I again I assume that's more personal preference.Careful with
wall...a command of the same name exists.I totally agree with you on the usefulness...switching to fish is probably what improved my quality of life in linux most in the last ten years.