From 57a8f123c17ad95b2a725a09cd4e3b8df526d57a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 Feb 2017 23:09:08 +1300 Subject: More accurate commend for hostcomplete (turn off) --- bash/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash') diff --git a/bash/bashrc b/bash/bashrc index b456d966..166fc501 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -57,8 +57,8 @@ shopt -s histappend shopt -s histreedit # Load history expansion result as the next command, don't run them directly shopt -s histverify -# Use Bash's builtin hostname completion -shopt -s hostcomplete +# Don't assume a word with a @ in it is a hostname +shopt -u hostcomplete # Don't change newlines to semicolons in history shopt -s lithist # Don't try to tell me when my mail is read -- cgit v1.2.3