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