1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 10:29:25 +00:00

[Fix #202] Load modules all or nothing

This commit is contained in:
Sorin Ionescu
2012-07-23 15:00:44 -04:00
parent 4d86e9c591
commit 060d9064f8
26 changed files with 151 additions and 53 deletions

View File

@ -8,7 +8,7 @@
# Get the prefix or use the default.
zstyle -s ':omz:module:gnu-utility' prefix '_gnu_utility_p' || _gnu_utility_p='g'
# Check for the presence of GNU Core Utilities.
# Return if requirements are not found.
if (( ! ${+commands[${_gnu_utility_p}whoami]} )); then
return 1
fi