From: Oleg Broytman Date: Thu, 16 Jul 2020 10:05:55 +0000 (+0300) Subject: .shellrc: Complete program names for `run-all-hosts` X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=46d946faa8eba2e7bbbd24e3ff13162e8b6fa90b .shellrc: Complete program names for `run-all-hosts` --- diff --git a/.shellrc b/.shellrc index 38d9dcc..4fc1021 100644 --- a/.shellrc +++ b/.shellrc @@ -95,7 +95,7 @@ if test -n "$BASH_VERSION"; then for cmd in builtin cgmem_nice command dbus-launch exec \ killall man nice nohup pidof pidOf KillAll pgrep pkill psg pswg \ - su sudo time whence whereis which xargs; do + run-all-hosts su sudo time whence whereis which xargs; do ! has_completion $cmd && complete -o default -A command $cmd done