mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Add colour to cower. How aur wrappers are managed at the moment is not ideal.
This commit is contained in:
parent
0234005a3e
commit
30d95b2bc9
2 changed files with 5 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
# Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips
|
# Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips
|
||||||
alias pacupg='sudo pacman -Syu' # Synchronize with repositories before upgrading packages that are out of date on the local system.
|
alias pacupg='sudo pacman -Syu' # Synchronize with repositories before upgrading packages that are out of date on the local system.
|
||||||
alias pacin='sudo pacman -S' # Install specific package(s) from the repositories
|
alias pacin='sudo pacman -S' # Install specific package(s) from the repositories
|
||||||
alias pacins='sudo pacman -U' # Install specific package not from the repositories but from a file
|
alias pacins='sudo pacman -U' # Install specific package not from the repositories but from a file
|
||||||
alias pacre='sudo pacman -R' # Remove the specified package(s), retaining its configuration(s) and required dependencies
|
alias pacre='sudo pacman -R' # Remove the specified package(s), retaining its configuration(s) and required dependencies
|
||||||
alias pacrem='sudo pacman -Rns' # Remove the specified package(s), its configuration(s) and unneeded dependencies
|
alias pacrem='sudo pacman -Rns' # Remove the specified package(s), its configuration(s) and unneeded dependencies
|
||||||
alias pacrep='pacman -Si' # Display information about a given package in the repositories
|
alias pacrep='pacman -Si' # Display information about a given package in the repositories
|
||||||
|
|
@ -61,3 +61,6 @@ pacman() {
|
||||||
*) $pacman_bin "$@" ;;
|
*) $pacman_bin "$@" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO There needs to be a better way to support this
|
||||||
|
[[ -x /usr/bin/cower ]] && source $ZSH/plugins/archlinux/aur-helpers/aur-helper-cower.zsh
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
alias cower='cower --color=auto'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue