mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
feat(gnu-utils): include ghostname if present (#10867)
This commit is contained in:
@@ -35,6 +35,9 @@ __gnu_utils() {
|
||||
# Not part of either coreutils or findutils, installed separately.
|
||||
gcmds+=('gsed' 'gtar' 'gtime' 'gmake' 'ggrep')
|
||||
|
||||
# can be built optionally
|
||||
gcmds+=('ghostname')
|
||||
|
||||
for gcmd in "${gcmds[@]}"; do
|
||||
# Do nothing if the command isn't found
|
||||
(( ${+commands[$gcmd]} )) || continue
|
||||
|
||||
Reference in New Issue
Block a user