mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-02 12:09:26 +00:00
committed by
Sorin Ionescu
parent
5232191cbe
commit
fb9a20591f
@ -10,14 +10,14 @@ Settings
|
||||
To enable a Pacman frontend, for example, [Yaourt][2], add the following line to
|
||||
*zshrc*:
|
||||
|
||||
zstyle ':omz:module:pacman' frontend 'yaourt'
|
||||
zstyle ':prezto:module:pacman' frontend 'yaourt'
|
||||
|
||||
If you have enabled color globally in *zshrc*, you may disable it for certain
|
||||
commands.
|
||||
|
||||
To disable `yaourt` highlighting, add the following line to *zshrc*:
|
||||
|
||||
zstyle ':omz:module:pacman:yaourt' color 'no'
|
||||
zstyle ':prezto:module:pacman:yaourt' color 'no'
|
||||
|
||||
Aliases
|
||||
-------
|
||||
@ -62,5 +62,5 @@ Authors
|
||||
|
||||
[1]: http://www.archlinux.org/pacman/
|
||||
[2]: http://archlinux.fr/yaourt-en
|
||||
[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues
|
||||
[3]: https://github.com/sorin-ionescu/prezto/issues
|
||||
|
||||
|
@ -19,7 +19,7 @@ fi
|
||||
#
|
||||
|
||||
# Get the Pacman frontend.
|
||||
zstyle -s ':omz:module:pacman' frontend '_pacman_frontend'
|
||||
zstyle -s ':prezto:module:pacman' frontend '_pacman_frontend'
|
||||
|
||||
if (( $+commands[$_pacman_frontend] )); then
|
||||
alias pacman="$_pacman_frontend"
|
||||
|
@ -10,7 +10,7 @@
|
||||
#
|
||||
|
||||
# Disable color.
|
||||
if ! zstyle -t ':omz:module:pacman:yaourt' color; then
|
||||
if ! zstyle -t ':prezto:module:pacman:yaourt' color; then
|
||||
alias pacman='pacman --nocolor'
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user