138
SHARE WITH THE CLASS: What aliases are you using?
(kbin.social)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Some QoL stuff my good friend set-up for me.
And then there's a bunch of stuff from the output of
alias
, most of them are git aliases. Those which aren't git-related are listed below:Good to see another exa user. Care to break down what yay does btw?
Ah, yay is an AUR helper, though I personally see it as a
pacman
helper as well. Link here. Some of the flags and options that can be used forpacman
can be used foryay
, thus, some of the flags in the aliases I use are actually forpacman
. Anyways, on to the breakdown.alias yy='yay -Y --needed --norebuild --nocleanafter --nodiffmenu --noredownload --nocleanmenu --removemake --sudoloop'
This one is what I use to look up for packages. The result of runnning
yy «search term»
would be a list of packages matching the search term and prompting the user on which package(s) to install.-Y
--needed
--norebuild
--nocleanafter
--noredownlod
--nodiffmenu
--nocleanmenu
--removemake
--sudoloop
alias ya='yay -S --needed --norebuild --nocleanafter --nodiffmenu --noredownload --nocleanmenu --removemake --sudoloop'
This one is what I use for installing packages. Useful if I already know what package I would be installing.
-S
alias yu='yay -R --recursive --nosave'
This one is what I use when uninstalling packages. I usually check the package name with something like
yay -Qi «package-name-guess»
beforehand.-R
--recursive
--sync
operation.--nosave
pacman
to ignore file backup designations. (This avoids the removed files being renamed with a.pacsave
extension.)I actually don't know much about both
yay
andpacman
myself, since the aliases were just passed onto me by the same friend who helped me (re-)install my system (long story) and set-up the aliases. Having looked all these up, however, I might make a few changes (like changing the--nocleanafter
and--nocleanmenu
options to their clean ones`).