aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-05-22 15:21:27 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-05-22 15:21:27 +1200
commita7600d2c4f5061e35cdcdac5f9f5591fdce6443b (patch)
tree09f9741358582fdcfa4cb13b6049e3d4c68f5551
parentUse shots for completion where possible (diff)
downloaddotfiles-a7600d2c4f5061e35cdcdac5f9f5591fdce6443b.tar.gz
dotfiles-a7600d2c4f5061e35cdcdac5f9f5591fdce6443b.zip
Wait, that didn't work.
-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.