Browse Source

feat(gnu-utils): include `ghostname` if present (#10867)

Robert Lankford 2 years ago
parent
commit
51555fc4b3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/gnu-utils/gnu-utils.plugin.zsh

+ 3 - 0
plugins/gnu-utils/gnu-utils.plugin.zsh

@@ -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