diff --git a/.bashrc b/.bashrc index 7461d8f..6cd3642 100644 --- a/.bashrc +++ b/.bashrc @@ -20,9 +20,6 @@ shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" -bind 'set show-all-if-ambiguous on' -bind 'TAB:menu-complete' - ## ## prompt games ## @@ -272,6 +269,8 @@ fi case $- in *i*) + bind 'set show-all-if-ambiguous on' + bind 'TAB:menu-complete' # only with interactive non-sudo shell if [ -n "$SSH_CONNECTION" ] && [ -z "$SUDO_UID" ]; then [ "$(parent)" = "screen" ] || screen -RR