summaryrefslogtreecommitdiff
path: root/completions/munindoc
diff options
context:
space:
mode:
Diffstat (limited to 'completions/munindoc')
-rw-r--r--completions/munindoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/munindoc b/completions/munindoc
index 1c8bb482..527037ee 100644
--- a/completions/munindoc
+++ b/completions/munindoc
@@ -5,8 +5,8 @@ _munindoc()
local cur prev words cword
_init_completion || return
- COMPREPLY=( $( compgen -W '$( command ls /usr/share/munin/plugins )' \
- -- "$cur" ) )
+ COMPREPLY=( $( compgen -W \
+ '$( command ls /usr/share/munin/plugins 2>/dev/null )' -- "$cur" ) )
} &&
complete -F _munindoc munindoc