Alias's
Aliases
rule
Wtf.
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo
in Windows.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
Alias's
Aliases
rule
Wtf.
I only have one alias: alias rm=trash-rm
EDIT: Sorry. It's actually alias rm=trash
Should that not be alias rm=trash-put
?
My distro tells me that trash-rm
comes from the package trash-cli
and the README of that says that trash-rm
removes files from the trashcan.
Yeah I was mistaken. It's actually alias rm=trash
(not trash-put
either)
@KindaABigDyl @_thebrain_ what is trash-rm?
Should be just trash
not trash-rm
, but it's like the other person said, when you go to rm
, it moves it to trash now, instead of deleting, since usually I don't want to truly delete things (i.e., I don't raw delete when using a GUI, so I'm bringing that behavior to CLI as well)
You can ofc still use the old rm
and do full deletion. Either sudo rm
(unless root also has rm
aliased) or /bin/rm
But also you can do rm
then trash-empty
for the same behavior.
I'm actually trying a new alias alias del=/bin/rm
so that I have a quick way to get the old behavior.
Me an intellectual: just have and alias for lx which points to eza.
What's wrong? This is based for every sys-admin getting an emergency call at Friday night when drinks was half price.
I don't relate personally
alias pqsl='psql'
I have all variations of quit and exit in CS2 aliased.