mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-25 01:43:04 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
934576b89b |
No files matched your search
+4
-3
@@ -237,9 +237,10 @@ function _omz_diag_dump_one_big_text() {
|
||||
fi
|
||||
builtin echo
|
||||
builtin echo "Zsh compdump files:"
|
||||
local dumpfile dumpfiles
|
||||
command ls -lad $zdotdir/.zcompdump*
|
||||
dumpfiles=( $zdotdir/.zcompdump*(N) )
|
||||
local dumpfile
|
||||
local -U dumpfiles
|
||||
dumpfiles=( $zdotdir/.zcompdump*(N) ${ZSH_COMPDUMP:h}/.zcompdump*(N) )
|
||||
(( $#dumpfiles )) && command ls -lad $dumpfiles
|
||||
if [[ $verbose -ge 2 ]]; then
|
||||
for dumpfile in $dumpfiles; do
|
||||
_omz_diag_dump_echo_file_w_header $dumpfile
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ fi
|
||||
|
||||
# Save the location of the current completion dump file.
|
||||
if [[ -z "$ZSH_COMPDUMP" ]]; then
|
||||
ZSH_COMPDUMP="${ZDOTDIR:-$HOME}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
|
||||
ZSH_COMPDUMP="${ZSH_CACHE_DIR}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
|
||||
fi
|
||||
|
||||
# Resolve the commit $ZSH is checked out at into $REPLY by reading the git
|
||||
|
||||
@@ -107,30 +107,6 @@ upgrades were available. Use `pacman -Que` instead.
|
||||
| pasu | `pacaur -Syua --no-confirm` | Same as `paupg`, but without confirmation |
|
||||
| upgrade[¹](#f1) | `pacaur -Syu` | Sync with repositories before upgrading packages |
|
||||
|
||||
#### Paru
|
||||
|
||||
| Alias | Command | Description |
|
||||
|---------|--------------------------------|-------------------------------------------------------------------|
|
||||
| puclean | `paru -Sc` | Clean out old and unused caches and packages |
|
||||
| puclr | `paru -Scc` | Remove all files from the cache |
|
||||
| pufiles | `paru -F` | Search the files database for packages that contain a file |
|
||||
| puin | `paru -S` | Install packages from the repositories |
|
||||
| puins | `paru -U` | Install a package from a local file |
|
||||
| puinsd | `paru -S --asdeps` | Install packages as dependencies of another package |
|
||||
| puloc | `paru -Qi` | Display information about a package in the local database |
|
||||
| pulocs | `paru -Qs` | Search for packages in the local database |
|
||||
| pulst | `paru -Qe` | List installed packages including from AUR (tagged as "local") |
|
||||
| pumir | `paru -Syy` | Force refresh of all package lists after updating mirrorlist |
|
||||
| puorph | `paru -Qtd` | List orphaned packages |
|
||||
| pure | `paru -R` | Remove packages, keeping its settings and dependencies |
|
||||
| purem | `paru -Rns` | Remove packages, including its settings and unneeded dependencies |
|
||||
| purep | `paru -Si` | Display information about a package in the repositories |
|
||||
| pureps | `paru -Ss` | Search for packages in the repositories |
|
||||
| puupd | `paru -Sy` | Update and refresh local package, ABS and AUR databases |
|
||||
| puupg | `paru -Syu` | Sync with repositories before upgrading packages |
|
||||
| pusu | `paru -Syu --noconfirm` | Same as `puupg`, but without confirmation |
|
||||
| upgrade[¹](#f1) | `paru -Syu` | Sync with repositories before upgrading packages |
|
||||
|
||||
#### Trizen
|
||||
|
||||
| Alias | Command | Description |
|
||||
@@ -187,10 +163,9 @@ whether the package manager is installed, checked in the following order:
|
||||
|
||||
1. `yay`
|
||||
2. `trizen`
|
||||
3. `paru`
|
||||
4. `pacaur`
|
||||
5. `aura`
|
||||
6. `pacman`
|
||||
3. `pacaur`
|
||||
4. `aura`
|
||||
5. `pacman`
|
||||
|
||||
## Contributors
|
||||
|
||||
@@ -206,5 +181,4 @@ whether the package manager is installed, checked in the following order:
|
||||
- Ybalrid (Arthur Brainville) - ybalrid@ybalrid.info
|
||||
- Jeff M. Hubbard - jeffmhubbard@gmail.com
|
||||
- K. Harishankar(harishnkr) - hari2menon1234@gmail.com
|
||||
- WH-2099 - wh2099@outlook.com
|
||||
- Boris Frenkel - fobos2k@gmail.com
|
||||
- WH-2099 - wh2099@outlook.com
|
||||
@@ -134,27 +134,6 @@ if (( $+commands[pacaur] )); then
|
||||
alias paupd="pacaur -Sy"
|
||||
fi
|
||||
|
||||
if (( $+commands[paru] )); then
|
||||
alias puclean='paru -Sc'
|
||||
alias puclr='paru -Scc'
|
||||
alias pufiles='paru -F'
|
||||
alias puin='paru -S'
|
||||
alias puins='paru -U'
|
||||
alias puinsd='paru -S --asdeps'
|
||||
alias puloc='paru -Qi'
|
||||
alias pulocs='paru -Qs'
|
||||
alias pulst='paru -Qe'
|
||||
alias pumir='paru -Syy'
|
||||
alias puorph='paru -Qtd'
|
||||
alias pure='paru -R'
|
||||
alias purem='paru -Rns'
|
||||
alias purep='paru -Si'
|
||||
alias pureps='paru -Ss'
|
||||
alias puupd='paru -Sy'
|
||||
alias puupg='paru -Syu'
|
||||
alias pusu='paru -Syu --noconfirm'
|
||||
fi
|
||||
|
||||
if (( $+commands[trizen] )); then
|
||||
alias trconf='trizen -C'
|
||||
alias trupg='trizen -Syua'
|
||||
@@ -215,8 +194,6 @@ function upgrade() {
|
||||
yay -Su
|
||||
elif (( $+commands[trizen] )); then
|
||||
trizen -Su
|
||||
elif (( $+commands[paru] )); then
|
||||
paru -Su
|
||||
elif (( $+commands[pacaur] )); then
|
||||
pacaur -Su
|
||||
elif (( $+commands[aura] )); then
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Pre-commit plugin
|
||||
|
||||
This plugin adds aliases for common commands of [pre-commit](https://pre-commit.com/).
|
||||
It also supports [prek](https://github.com/j178/prek) as a drop-in replacement.
|
||||
It also supports [prek](https://github.com/prek/prek) as a drop-in replacement.
|
||||
If `prek` is available, it will be used; otherwise, `pre-commit` is used as fallback.
|
||||
|
||||
To use this plugin, add it to the plugins array in your zshrc file:
|
||||
|
||||
Reference in new issue
Block a user