Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
5403db85
Unverified
Commit
5403db85
authored
Dec 13, 2021
by
K Harishankar
Committed by
GitHub
Dec 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(archlinux): add aliases for cleaning package cache (#10091)
Co-authored-by:
K Harishankar
<
48408097+Haritronic909@users.noreply.github.com
>
parent
f42aa49c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
README.md
plugins/archlinux/README.md
+11
-0
archlinux.plugin.zsh
plugins/archlinux/archlinux.plugin.zsh
+10
-0
No files found.
plugins/archlinux/README.md
View file @
5403db85
...
...
@@ -17,8 +17,10 @@ plugins=(... archlinux)
| pacin |
`sudo pacman -S`
| Install packages from the repositories |
| pacins |
`sudo pacman -U`
| Install a package from a local file |
| pacinsd |
`sudo pacman -S --asdeps`
| Install packages as dependencies of another package |
| paclean |
`sudo pacman -Sc`
| Clean out old and unused caches and packages |
| pacloc |
`pacman -Qi`
| Display information about a package in the local database |
| paclocs |
`pacman -Qs`
| Search for packages in the local database |
| paclr |
`sudo pacman -Scc`
| Remove all files from the cache |
| paclsorphans |
`sudo pacman -Qdt`
| List all orphaned packages |
| pacmir |
`sudo pacman -Syy`
| Force refresh of all package lists after updating mirrorlist |
| pacre |
`sudo pacman -R`
| Remove packages, keeping its settings and dependencies |
...
...
@@ -52,6 +54,8 @@ upgrades were available. Use `pacman -Que` instead.
| Alias | Command | Description |
|---------|-------------------------------------------------|-------------------------------------------------------------------------|
| auclean |
`sudo aura -Sc`
| Clean out old and unused caches and packages |
| auclr |
`sudo aura -Scc`
| Remove all files from the cache |
| auin |
`sudo aura -S`
| Install packages from the repositories |
| aurin |
`sudo aura -A`
| Install packages from the repositories |
| auins |
`sudo aura -U`
| Install a package from a local file |
...
...
@@ -84,6 +88,8 @@ upgrades were available. Use `pacman -Que` instead.
| Alias | Command | Description |
|---------|-----------------------------------|---------------------------------------------------------------------|
| pacclean|
`pacaur -Sc`
| Clean out old and unused caches and packages |
| pacclr |
`pacaur -Scc`
| Remove all files from the cache |
| pain |
`pacaur -S`
| Install packages from the repositories |
| pains |
`pacaur -U`
| Install a package from a local file |
| painsd |
`pacaur -S --asdeps`
| Install packages as dependencies of another package |
...
...
@@ -106,6 +112,8 @@ upgrades were available. Use `pacman -Que` instead.
| Alias | Command | Description |
|---------|-----------------------------------|---------------------------------------------------------------------|
| trconf |
`trizen -C`
| Fix all configuration files with vimdiff |
| trclean |
`trizen -Sc`
| Clean out old and unused caches and packages |
| trclr |
`trizen -Scc`
| Remove all files from the cache |
| trin |
`trizen -S`
| Install packages from the repositories |
| trins |
`trizen -U`
| Install a package from a local file |
| trinsd |
`trizen -S --asdeps`
| Install packages as dependencies of another package |
...
...
@@ -128,6 +136,8 @@ upgrades were available. Use `pacman -Que` instead.
| Alias | Command | Description |
|---------|--------------------------------|-------------------------------------------------------------------|
| yaconf |
`yay -Pg`
| Print current configuration |
| yaclean |
`yay -Sc`
| Clean out old and unused caches and packages |
| yaclr |
`yay -Scc`
| Remove all files from the cache |
| yain |
`yay -S`
| Install packages from the repositories |
| yains |
`yay -U`
| Install a package from a local file |
| yainsd |
`yay -S --asdeps`
| Install packages as dependencies of another package |
...
...
@@ -170,3 +180,4 @@ whether the package manager is installed, checked in the following order:
-
ornicar - thibault.duplessis@gmail.com
-
Ybalrid (Arthur Brainville) - ybalrid@ybalrid.info
-
Jeff M. Hubbard - jeffmhubbard@gmail.com
-
K. Harishankar(harishnkr) - hari2menon1234@gmail.com
plugins/archlinux/archlinux.plugin.zsh
View file @
5403db85
...
...
@@ -5,7 +5,9 @@
# Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips
alias
pacupg
=
'sudo pacman -Syu'
alias
pacin
=
'sudo pacman -S'
alias
paclean
=
'sudo pacman -Sc'
alias
pacins
=
'sudo pacman -U'
alias
paclr
=
'sudo pacman -Scc'
alias
pacre
=
'sudo pacman -R'
alias
pacrem
=
'sudo pacman -Rns'
alias
pacrep
=
'pacman -Si'
...
...
@@ -88,6 +90,8 @@ fi
if
((
$+
commands[aura]
))
;
then
alias
auin
=
'sudo aura -S'
alias
aurin
=
'sudo aura -A'
alias
auclean
=
'sudo aura -Sc'
alias
auclr
=
'sudo aura -Scc'
alias
auins
=
'sudo aura -U'
alias
auinsd
=
'sudo aura -S --asdeps'
alias
aurinsd
=
'sudo aura -A --asdeps'
...
...
@@ -115,6 +119,8 @@ if (( $+commands[aura] )); then
fi
if
((
$+
commands[pacaur]
))
;
then
alias
pacclean
=
'pacaur -Sc'
alias
pacclr
=
'pacaur -Scc'
alias
paupg
=
'pacaur -Syu'
alias
pasu
=
'pacaur -Syu --noconfirm'
alias
pain
=
'pacaur -S'
...
...
@@ -138,6 +144,8 @@ if (( $+commands[trizen] )); then
alias
trupg
=
'trizen -Syua'
alias
trsu
=
'trizen -Syua --noconfirm'
alias
trin
=
'trizen -S'
alias
trclean
=
'trizen -Sc'
alias
trclr
=
'trizen -Scc'
alias
trins
=
'trizen -U'
alias
trre
=
'trizen -R'
alias
trrem
=
'trizen -Rns'
...
...
@@ -155,6 +163,8 @@ fi
if
((
$+
commands[yay]
))
;
then
alias
yaconf
=
'yay -Pg'
alias
yaclean
=
'yay -Sc'
alias
yaclr
=
'yay -Scc'
alias
yaupg
=
'yay -Syu'
alias
yasu
=
'yay -Syu --noconfirm'
alias
yain
=
'yay -S'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment