2021-05-04 01:59:31 +00:00
|
|
|
# GNU Utility
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2014-10-15 22:54:24 +00:00
|
|
|
Provides for the interactive use of GNU utilities on BSD systems.
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
Installing GNU utilities on non-GNU systems in `$PATH` without a prefix, i.e.,
|
2012-04-11 20:48:09 +00:00
|
|
|
`ls` instead of `gls`, is not recommended since scripts that target other
|
|
|
|
utilities will be broken.
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2012-12-21 00:11:17 +00:00
|
|
|
This module wraps GNU utilities in functions without a prefix for interactive
|
|
|
|
use.
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
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.
|
2012-05-20 23:02:52 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Settings
|
2012-04-04 13:01:25 +00:00
|
|
|
|
|
|
|
### Prefix
|
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
To use a different prefix, add the following to
|
|
|
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_, and replace `'g'` with the desired prefix.
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2017-07-21 01:07:29 +00:00
|
|
|
```sh
|
|
|
|
zstyle ':prezto:module:gnu-utility' prefix 'g'
|
|
|
|
```
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Authors
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
_The authors of this module should be contacted via the [issue tracker][2]._
|
2012-04-04 13:01:25 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
2012-05-22 00:18:30 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
[1]: ../utility#readme
|
|
|
|
[2]: https://github.com/sorin-ionescu/prezto/issues
|