51555fc4b3abad57784da98d920a3369f558c480

Author
Robert Lankford <robert.lankford@grafana.com>
Committer
GitHub <noreply@github.com>
Date

Message

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

Diff

 1diff --git a/plugins/gnu-utils/gnu-utils.plugin.zsh b/plugins/gnu-utils/gnu-utils.plugin.zsh
 2index 6ede9e3a7be873d397bdb5e32cdedbc711d2957a..9419127d891550e9065f8b920003e1ea679f7efa 100644
 3--- a/plugins/gnu-utils/gnu-utils.plugin.zsh
 4+++ b/plugins/gnu-utils/gnu-utils.plugin.zsh
 5@@ -35,6 +35,9 @@ __gnu_utils() {
 6   # Not part of either coreutils or findutils, installed separately.
 7   gcmds+=('gsed' 'gtar' 'gtime' 'gmake' 'ggrep')
 8 
 9+  # can be built optionally
10+  gcmds+=('ghostname')
11+
12   for gcmd in "${gcmds[@]}"; do
13     # Do nothing if the command isn't found
14     (( ${+commands[$gcmd]} )) || continue