forked from sorin-ionescu/prezto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b24ac11
commit d044479
Showing
2 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
gnu-utils | ||
========= | ||
|
||
Provides for the interactive use of [GNU Core Utilities][1] on non-GNU systems. | ||
|
||
Installing the GNU Core Utilities on non-GNU systems in `$PATH` without | ||
a prefix, i.e. `ls` instead of `gls`, is not recommended since scripts that | ||
target other core utilities will be broken. | ||
|
||
However, for interactive use, prefixed commands can be hashed to their | ||
non-prefixed counterparts. | ||
|
||
Settings | ||
-------- | ||
|
||
### Prefix | ||
|
||
To use a different prefix, add the following to *zshrc*, and replace 'g' with | ||
the desired prefix: | ||
|
||
zstyle ':omz:plugin:gnu-utils' prefix 'g' | ||
|
||
Authors | ||
------- | ||
|
||
*The authors of this plugin should be contacted via the GitHub issue tracker.* | ||
|
||
- [Sorin Ionescu](/sorin-ionescu) | ||
|
||
[1]: http://www.gnu.org/software/coreutils/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,6 @@ | |
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
# | ||
# Usage: | ||
# | ||
# To use a different prefix, add the following to zshrc, | ||
# and replace 'g' with the desired prefix: | ||
# | ||
# zstyle ':omz:plugin:gnu-utils' prefix 'g' | ||
# | ||
|
||
# Get the prefix or use the default. | ||
zstyle -s ':omz:plugin:gnu-utils' prefix '_gnu_utils_prefix' || | ||
|