News for hackers. Stuff that matters.
Re:ZSH Aliases by inatreecrown2 on Tuesday May 26, 2020 @08:49AM (#23310439)
using aliases is a beginners mistake. they will one day break. just type in the real thing.

also, if you use aliases for commands that you use a lot, it is better to remember how to correctly type the command.

Re:ZSH Aliases by burke on Tuesday May 26, 2020 @10:50AM (#23311867)
Wow I really can’t disagree with this hard enough.

I’ve added extensive aliases to my shell and it saves me mountains of time. If they break, so what? You fix them? It’s computers; everything breaks eventually.

I’m appalled at the idea of trading constant convenience against some hypothetical and unspecified future breakage.

Re:ZSH Aliases by ubercow13 on Tuesday May 26, 2020 @10:10AM (#23311310)
Imagine writing software instead of doing everything by hand! That software could just break one day!
Re:ZSH Aliases by mkchoi212 on Tuesday May 26, 2020 @11:11AM (#23312132)
I don't understand what the negatives of typing `gs` over `git status` is.. Unless I have a bin named `gs`.. but as long as I know that, what are the disadvantages?
Re:ZSH Aliases by cyberpip on Tuesday May 26, 2020 @08:58AM (#23310526)
imagine not typing out the full/basic git commands the rest of your life and all the time that'll save though
Re:ZSH Aliases by inatreecrown2 on Tuesday May 26, 2020 @09:10AM (#23310655)
imagine loosing your aliases. just learn to type and enjoy life.
Re:ZSH Aliases by avindroth on Tuesday May 26, 2020 @09:25AM (#23310807)
Or you can spend less time typing and enjoy life
Re:ZSH Aliases by inatreecrown2 on Tuesday May 26, 2020 @09:29AM (#23310833)
yes, but with a crutch
Re:ZSH Aliases by sylens on Tuesday May 26, 2020 @10:04AM (#23311238)
The worst case scenario is that I lose my .zshrc file and have to google commands again
Re:ZSH Aliases by tenantless on Tuesday May 26, 2020 @12:05PM (#23312877)
Or, keep your dot files in a public/private Git repo and don't worry about that either. Also makes setting up new machines/users a breeze.
Re:ZSH Aliases by avindroth on Wednesday May 27, 2020 @04:59PM (#23329906)
Yeah why would anyone not version control their dot files
Re:ZSH Aliases by deadbunny on Tuesday May 26, 2020 @06:27PM (#23317183)
How do you "lose" your aliases?