mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-08-08 04:50:22 +00:00
pacman: Simplify support for AUR helpers
There are a number of things happening here. - Extra support for yaourt has been removed - Docs have been updated to explicitly call out that AUR helpers are not officially supported - aurutils has been suggested to make common operations easier - A utility function called aurget (similar to aurfetch from aurutils) has been added to make cloning AUR repos easier. Fixes #1531
This commit is contained in:
@@ -8,23 +8,20 @@ Settings
|
||||
--------
|
||||
|
||||
It is possible to use a Pacman frontend with the pacman aliases provided by this
|
||||
package as long as that frontend supports the same command line options (Such as
|
||||
[Pacaur][2] or [Yaourt][3]).
|
||||
package as long as that frontend supports the same command line options (The
|
||||
[AUR Helpers][2] page has a good comparison which lists if the command line
|
||||
options are pacman compatible).
|
||||
|
||||
To enable a Pacman frontend, for example, [Pacaur][2], add the following line to
|
||||
*zpreztorc*:
|
||||
Please note that installing packages with an AUR Helper is not officially
|
||||
supported by Archlinux. It is currently recommended to manually build AUR
|
||||
packages using the [provided instructions][3]. The [aurtools][4] project has a
|
||||
set of small utilities to make this easier.
|
||||
|
||||
To enable a Pacman frontend, add the following line to *zpreztorc*, substituting
|
||||
`pacman_frontend` with the name of the frontent:
|
||||
|
||||
```sh
|
||||
zstyle ':prezto:module:pacman' frontend 'pacaur'
|
||||
```
|
||||
|
||||
If you have enabled color globally in *zpreztorc*, you may disable it for certain
|
||||
commands.
|
||||
|
||||
To disable `yaourt` highlighting, add the following line to *zpreztorc*:
|
||||
|
||||
```sh
|
||||
zstyle ':prezto:module:pacman:yaourt' color 'no'
|
||||
zstyle ':prezto:module:pacman' frontend 'pacman_frontend'
|
||||
```
|
||||
|
||||
Aliases
|
||||
@@ -50,28 +47,23 @@ Aliases
|
||||
|
||||
### Frontends
|
||||
|
||||
#### Yaourt
|
||||
|
||||
Note that there are currently potential security concerns relating to yaourt, so
|
||||
other frontends are recommended.
|
||||
|
||||
- `pacc` manages *.pac\** files.
|
||||
|
||||
Functions
|
||||
---------
|
||||
|
||||
- `aurget` clone an aur package
|
||||
- `pacman-list-explicit` lists explicitly installed pacman packages.
|
||||
- `pacman-list-disowned` lists pacman disowned files.
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
*The authors of this module should be contacted via the [issue tracker][4].*
|
||||
*The authors of this module should be contacted via the [issue tracker][5].*
|
||||
|
||||
- [Benjamin Boudreau](https://github.com/dreur)
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
|
||||
[1]: http://www.archlinux.org/pacman/
|
||||
[2]: https://github.com/rmarquis/pacaur
|
||||
[3]: http://archlinux.fr/yaourt-en
|
||||
[4]: https://github.com/sorin-ionescu/prezto/issues
|
||||
[2]: https://wiki.archlinux.org/index.php/AUR_helpers#Comparison_table
|
||||
[3]: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages
|
||||
[4]: https://github.com/AladW/aurutils
|
||||
[5]: https://github.com/sorin-ionescu/prezto/issues
|
||||
|
Reference in New Issue
Block a user