mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-14 22:21:13 +00:00
1ff9421f7b
Zsh and Prezto files don't always reside in `~/`. Instead, they have a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them unambiguous in the documentation. Likewise, for `$GNUPGHOME`. Further, add instruction for optionally setting up Prezto in `$XDG_CONFIG_HOME`. While at this, also add clarification on relative ordering of some of the modules, apply more formatting tweaks and doc improvements.
35 lines
938 B
Markdown
35 lines
938 B
Markdown
# GNU Utility
|
|
|
|
Provides for the interactive use of GNU utilities on BSD systems.
|
|
|
|
Installing GNU utilities on non-GNU systems in `$PATH` without a prefix, i.e.,
|
|
`ls` instead of `gls`, is not recommended since scripts that target other
|
|
utilities will be broken.
|
|
|
|
This module wraps GNU utilities in functions without a prefix for interactive
|
|
use.
|
|
|
|
This module must be loaded _before_ the [_`utility`_][1] module so that GNU
|
|
utilities enabled in this module are available for configuration in _`utility`_
|
|
module.
|
|
|
|
## Settings
|
|
|
|
### Prefix
|
|
|
|
To use a different prefix, add the following to
|
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_, and replace `'g'` with the desired prefix.
|
|
|
|
```sh
|
|
zstyle ':prezto:module:gnu-utility' prefix 'g'
|
|
```
|
|
|
|
## Authors
|
|
|
|
_The authors of this module should be contacted via the [issue tracker][2]._
|
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|
|
|
[1]: ../utility#readme
|
|
[2]: https://github.com/sorin-ionescu/prezto/issues
|