aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 7052895e..bf43c8b9 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -87,7 +87,7 @@ stty -ixon
setterm -bfreq 0
# Use shots for hostname completion, if available.
-hash shots &>/dev/null && complete -C shots \
+hash shots &>/dev/null && complete -W "$(shots)" \
dig ftp host nc netcat ping telnet
# Use vi as my text editor, if available.