{"id":18950230,"url":"https://github.com/junker/zsh-archlinux","last_synced_at":"2025-08-24T10:20:02.394Z","repository":{"id":143103633,"uuid":"528806126","full_name":"Junker/zsh-archlinux","owner":"Junker","description":"ZSH Arch Linux plugin","archived":false,"fork":false,"pushed_at":"2023-04-18T07:13:27.000Z","size":36,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-09T08:20:22.253Z","etag":null,"topics":["archlinux","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Junker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-08-25T10:45:23.000Z","updated_at":"2024-04-30T08:25:06.000Z","dependencies_parsed_at":"2023-04-12T08:47:36.763Z","dependency_job_id":null,"html_url":"https://github.com/Junker/zsh-archlinux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junker%2Fzsh-archlinux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junker%2Fzsh-archlinux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junker%2Fzsh-archlinux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junker%2Fzsh-archlinux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Junker","download_url":"https://codeload.github.com/Junker/zsh-archlinux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223690196,"owners_count":17186573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","zsh"],"created_at":"2024-11-08T13:21:50.626Z","updated_at":"2024-11-08T13:21:51.247Z","avatar_url":"https://github.com/Junker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZSH Arch Linux plugin\n\nThis plugin adds some aliases and functions to work with Arch Linux. \\\nBased on oh-my-zsh [archlinux plugin](https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/archlinux/README.md)\n\n# Installation\n\n### [Zgenom](https://github.com/jandamm/zgenom)\n\nAdd `zgenom load Junker/zsh-archlinux` to your `.zshrc` and run ```source ~/.zshrc```\n\n### [Antigen](https://github.com/zsh-users/antigen)\n\nAdd `antigen bundle Junker/zsh-archlinux@main` to your `.zshrc` and run ```source ~/.zshrc```\n\n### [Znap](https://github.com/marlonrichert/zsh-snap)\n\nAdd `znap source Junker/zsh-archlinux` to your `.zshrc` and run ```source ~/.zshrc```\n\n### [Sheldon](https://github.com/rossmacarthur/sheldon)\n\nRun this in your terminal emulator:\n\n```zsh\nsheldon add --github 'Junker/zsh-archlinux' zsh-arch\nsheldon lock\nsheldon source\n```\n\n### Without using a framework\n\n1. `git clone git@github.com:Junker/zsh-archlinux.git`\n2. Add `source /path/to/repository/archlinux.plugin.zsh` to your .zshrc file.\n\n## Features\n\n### Pacman\n\n| Alias        | Command                                | Description                                                      |\n|--------------|----------------------------------------|------------------------------------------------------------------|\n| pacin        | `sudo pacman -S`                       | Install packages from the repositories                           |\n| pacndeps     | `sudo pacman -Sdd`                     | Install a package or packages without dependencies               |\n| pacins       | `sudo pacman -U`                       | Install a package from a local file                              |\n| pacinsd      | `sudo pacman -S --asdeps`              | Install packages as dependencies of another package              |\n| paclean      | `sudo pacman -Sc`                      | Clean out old and unused caches and packages                     |\n| pacloc       | `pacman -Qi`                           | Display information about a package in the local database        |\n| paclocs      | `pacman -Qs`                           | Search for packages in the local database                        |\n| paclr        | `sudo pacman -Scc`                     | Remove all files from the cache                                  |\n| paclsorphans | `sudo pacman -Qdt`                     | List all orphaned packages                                       |\n| pacmir       | `sudo pacman -Syy`                     | Force refresh of all package lists after updating mirrorlist     |\n| pacre        | `sudo pacman -R`                       | Remove packages, keeping its settings and dependencies           |\n| pacrem       | `sudo pacman -Rns`                     | Remove packages, including its settings and dependencies         |\n| pacrep       | `pacman -Si`                           | Display information about a package in the repositories          |\n| pacreps      | `pacman -Ss`                           | Search for packages in the repositories                          |\n| pacrmorphans | `sudo pacman -Rs $(pacman -Qtdq)`      | Delete all orphaned packages                                     |\n| pacupd       | `sudo pacman -Sy`                      | Update and refresh local package, ABS and AUR databases          |\n| pacupg       | `sudo pacman -Syu`                     | Sync with repositories before upgrading packages                 |\n| pacfileupg   | `sudo pacman -Fy`                      | Download fresh package databases from the server                 |\n| pacfiles     | `pacman -F`                            | Search package file names for matching strings                   |\n| pacls        | `pacman -Ql`                           | List files in a package                                          |\n| pacown       | `pacman -Qo`                           | Show which package owns a file                                   |\n| upgrade[¹](#f1) | `sudo pacman -Syu`                  | Sync with repositories before upgrading packages                 |\n\n| Function       | Description                                               |\n|----------------|-----------------------------------------------------------|\n| pacdisowned    | List all disowned files in your system                    |\n| paclist        | List all explicitly installed packages with a description |\n| pacmanallkeys  | Get all keys for developers and trusted users             |\n| pacmansignkeys | Locally trust all keys passed as parameters               |\n| pacweb         | Open the website of an ArchLinux package                  |\n\nNote: paclist used to print packages with a description which are (1) explicitly installed\nand (2) available for upgrade. Due to flawed scripting, it also printed all packages if no\nupgrades were available. Use `pacman -Que` instead.\n\n### AUR helpers\n\n#### Aura\n\n| Alias   | Command                                         | Description                                                             |\n|---------|-------------------------------------------------|-------------------------------------------------------------------------|\n| auclean | `sudo aura -Sc`                                 | Clean out old and unused caches and packages                            |\n| auclr   | `sudo aura -Scc`                                | Remove all files from the cache                                         |\n| auin    | `sudo aura -S`                                  | Install packages from the repositories                                  |\n| aurin   | `sudo aura -A`                                  | Install packages from the repositories                                  |\n| auins   | `sudo aura -U`                                  | Install a package from a local file                                     |\n| auinsd  | `sudo aura -S --asdeps`                         | Install packages as dependencies of another package (repositories only) |\n| aurinsd | `sudo aura -A --asdeps`                         | Install packages as dependencies of another package (AUR only)          |\n| auloc   | `aura -Qi`                                      | Display information about a package in the local database               |\n| aulocs  | `aura -Qs`                                      | Search for packages in the local database                               |\n| auls    | `aura -Qql`                                     | List all files owned by a given package                                 |\n| aulst   | `aura -Qe`                                      | List installed packages including from AUR (tagged as \"local\")          |\n| aumir   | `sudo aura -Syy`                                | Force refresh of all package lists after updating mirrorlist            |\n| aurph   | `sudo aura -Oj`                                 | Remove orphans using aura                                               |\n| auown   | `aura -Qqo`                                     | Search for packages that own the specified file(s)                      |\n| aure    | `sudo aura -R`                                  | Remove packages, keeping its settings and dependencies                  |\n| aurem   | `sudo aura -Rns`                                | Remove packages, including its settings and unneeded dependencies       |\n| aurep   | `aura -Si`                                      | Display information about a package in the repositories                 |\n| aurrep  | `aura -Ai`                                      | Display information about a package from AUR                            |\n| aureps  | `aura -As --both`                               | Search for packages in the repositories and AUR                         |\n| auras   | `aura -As --both`                               | Same as above                                                           |\n| auupd   | `sudo aura -Sy`                                 | Update and refresh local package, ABS and AUR databases                 |\n| auupg   | `sudo sh -c \"aura -Syu              \u0026\u0026 aura -Au\"` | Sync with repositories before upgrading all packages (from AUR too)   |\n| ausu    | `sudo sh -c \"aura -Syu --no-confirm \u0026\u0026 aura -Au --no-confirm\"` | Same as `auupg`, but without confirmation                |\n| upgrade[¹](#f1) | `sudo aura -Syu`                        | Sync with repositories before upgrading packages                        |\n\n| Function        | Description                                                         |\n|-----------------|---------------------------------------------------------------------|\n| auownloc _file_ | Display information about a package that owns the specified file(s) |\n| auownls  _file_ | List all files owned by a package that owns the specified file(s)   |\n\n#### Pacaur\n\n| Alias   | Command                           | Description                                                         |\n|---------|-----------------------------------|---------------------------------------------------------------------|\n| pacclean| `pacaur -Sc`                      | Clean out old and unused caches and packages                        |\n| pacclr  | `pacaur -Scc`                     | Remove all files from the cache                                     |\n| pain    | `pacaur -S`                       | Install packages from the repositories                              |\n| pains   | `pacaur -U`                       | Install a package from a local file                                 |\n| painsd  | `pacaur -S --asdeps`              | Install packages as dependencies of another package                 |\n| paloc   | `pacaur -Qi`                      | Display information about a package in the local database           |\n| palocs  | `pacaur -Qs`                      | Search for packages in the local database                           |\n| palst   | `pacaur -Qe`                      | List installed packages including from AUR (tagged as \"local\")      |\n| pamir   | `pacaur -Syy`                     | Force refresh of all package lists after updating mirrorlist        |\n| paorph  | `pacaur -Qtd`                     | Remove orphans using pacaur                                         |\n| pare    | `pacaur -R`                       | Remove packages, keeping its settings and dependencies              |\n| parem   | `pacaur -Rns`                     | Remove packages, including its settings and unneeded dependencies   |\n| parep   | `pacaur -Si`                      | Display information about a package in the repositories             |\n| pareps  | `pacaur -Ss`                      | Search for packages in the repositories                             |\n| paupd   | `pacaur -Sy`                      | Update and refresh local package, ABS and AUR databases             |\n| paupg   | `pacaur -Syua`                    | Sync with repositories before upgrading all packages (from AUR too) |\n| pasu    | `pacaur -Syua --no-confirm`       | Same as `paupg`, but without confirmation                           |\n| upgrade[¹](#f1) | `pacaur -Syu`             | Sync with repositories before upgrading packages                    |\n\n#### Paru\n\n| Alias    | Command                        | Description                                                       |\n|----------|--------------------------------|-------------------------------------------------------------------|\n| parclean | `paru -Sc`                     | Clean out old and unused caches and packages                      |\n| parclr   | `paru -Scc`                    | Remove all files from the cache                                   |\n| parin    | `paru -S`                      | Install packages from the repositories                            |\n| parins   | `paru -U`                      | Install a package from a local file                               |\n| parinsd  | `paru -S --asdeps`             | Install packages as dependencies of another package               |\n| parloc   | `paru -Qi`                     | Display information about a package in the local database         |\n| parlocs  | `paru -Qs`                     | Search for packages in the local database                         |\n| parlst   | `paru -Qe`                     | List installed packages including from AUR (tagged as \"local\")    |\n| parmir   | `paru -Syy`                    | Force refresh of all package lists after updating mirrorlist      |\n| parre    | `paru -R`                      | Remove packages, keeping its settings and dependencies            |\n| parrem   | `paru -Rns`                    | Remove packages, including its settings and unneeded dependencies |\n| parrep   | `paru -Si`                     | Display information about a package in the repositories           |\n| parreps  | `paru -Ss`                     | Search for packages in the repositories                           |\n| parupd   | `paru -Sy`                     | Update and refresh local package, ABS and AUR databases           |\n| parupg   | `paru -Syu`                    | Sync with repositories before upgrading packages                  |\n| upgrade[¹](#f1) | `paru -Syu`             | Sync with repositories before upgrading packages                  |\n\n#### Trizen\n\n| Alias   | Command                           | Description                                                         |\n|---------|-----------------------------------|---------------------------------------------------------------------|\n| trconf  | `trizen -C`                       | Fix all configuration files with vimdiff                            |\n| trclean | `trizen -Sc`                      | Clean out old and unused caches and packages                        |\n| trclr   | `trizen -Scc`                     | Remove all files from the cache                                     |\n| trin    | `trizen -S`                       | Install packages from the repositories                              |\n| trins   | `trizen -U`                       | Install a package from a local file                                 |\n| trinsd  | `trizen -S --asdeps`              | Install packages as dependencies of another package                 |\n| trloc   | `trizen -Qi`                      | Display information about a package in the local database           |\n| trlocs  | `trizen -Qs`                      | Search for packages in the local database                           |\n| trlst   | `trizen -Qe`                      | List installed packages including from AUR (tagged as \"local\")      |\n| trmir   | `trizen -Syy`                     | Force refresh of all package lists after updating mirrorlist        |\n| trorph  | `trizen -Qtd`                     | Remove orphans using yaourt                                         |\n| trre    | `trizen -R`                       | Remove packages, keeping its settings and dependencies              |\n| trrem   | `trizen -Rns`                     | Remove packages, including its settings and unneeded dependencies   |\n| trrep   | `trizen -Si`                      | Display information about a package in the repositories             |\n| trreps  | `trizen -Ss`                      | Search for packages in the repositories                             |\n| trupd   | `trizen -Sy`                      | Update and refresh local package, ABS and AUR databases             |\n| trupg   | `trizen -Syua`                    | Sync with repositories before upgrading all packages (from AUR too) |\n| trsu    | `trizen -Syua --no-confirm`       | Same as `trupg`, but without confirmation                           |\n| upgrade[¹](#f1) | `trizen -Syu`             | Sync with repositories before upgrading packages                    |\n\n#### Yay\n\n| Alias   | Command                        | Description                                                       |\n|---------|--------------------------------|-------------------------------------------------------------------|\n| yaconf  | `yay -Pg`                      | Print current configuration                                       |\n| yaclean | `yay -Sc`                      | Clean out old and unused caches and packages                      |\n| yaclr   | `yay -Scc`                     | Remove all files from the cache                                   |\n| yain    | `yay -S`                       | Install packages from the repositories                            |\n| yains   | `yay -U`                       | Install a package from a local file                               |\n| yainsd  | `yay -S --asdeps`              | Install packages as dependencies of another package               |\n| yaloc   | `yay -Qi`                      | Display information about a package in the local database         |\n| yalocs  | `yay -Qs`                      | Search for packages in the local database                         |\n| yalst   | `yay -Qe`                      | List installed packages including from AUR (tagged as \"local\")    |\n| yamir   | `yay -Syy`                     | Force refresh of all package lists after updating mirrorlist      |\n| yaorph  | `yay -Qtd`                     | Remove orphans using yay                                          |\n| yare    | `yay -R`                       | Remove packages, keeping its settings and dependencies            |\n| yarem   | `yay -Rns`                     | Remove packages, including its settings and unneeded dependencies |\n| yarep   | `yay -Si`                      | Display information about a package in the repositories           |\n| yareps  | `yay -Ss`                      | Search for packages in the repositories                           |\n| yaupd   | `yay -Sy`                      | Update and refresh local package, ABS and AUR databases           |\n| yaupg   | `yay -Syu`                     | Sync with repositories before upgrading packages                  |\n| yasu    | `yay -Syu --no-confirm`        | Same as `yaupg`, but without confirmation                         |\n| upgrade[¹](#f1) | `yay -Syu`             | Sync with repositories before upgrading packages                  |\n\n#### Rua (ONLY WORKS WITH AUR PACKAGES)\n| Alias   | Command                        |                                                                   |\n|---------|--------------------------------|-------------------------------------------------------------------|\n| ruin    | `rua install`                  | Installs a package or packages                                    |\n| ruse    | `rua search`                   | Searches the aur for packages                                     |\n| rush    | `rua shellcheck`               | Runs shellcheck on a PKGBUILD, essentially debugging it           |\n| rutar   | `rua tarcheck`                 | Runs rua checks on a prebuilt pkg tarball                         |\n| rube    | `rua builddir`                 | Build a package from a directory and subdirectories               |\n| rubeoff | `rua builddir --offline`       | Same as `rube`, but builds in offline mode                        |\n| upgrade[¹](#f1)    | `rua upgrade`                  | Upgrades all installed AUR packages                               |\n\n---\n\n\u003cspan id=\"f1\"\u003e¹\u003c/span\u003e\nThe `upgrade` alias is set for all package managers.\nIts value will depend on whether the package manager is installed, checked in the following order:\n\n1. `yay`\n2. `paru`\n3. `trizen`\n4. `pacaur`\n5. `aura`\n6. `pacman`\n7. `aura`\n\n## Contributors\n\n- Benjamin Boudreau - dreurmail@gmail.com\n- Celso Miranda - contacto@celsomiranda.net\n- ratijas (ivan tkachenko) - me@ratijas.tk\n- Juraj Fiala - doctorjellyface@riseup.net\n- KhasMek - Boushh@gmail.com\n- Majora320 (Moses Miller) - Majora320@gmail.com\n- Martin Putniorz - mputniorz@gmail.com\n- MatthR3D - matthr3d@gmail.com\n- ornicar - thibault.duplessis@gmail.com\n- Ybalrid (Arthur Brainville) - ybalrid@ybalrid.info\n- Jeff M. Hubbard - jeffmhubbard@gmail.com\n- K. Harishankar(harishnkr) - hari2menon1234@gmail.com\n- Junker (Dmitry Kosenkov)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunker%2Fzsh-archlinux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunker%2Fzsh-archlinux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunker%2Fzsh-archlinux/lists"}