diff options
Diffstat (limited to 'bash_include')
-rw-r--r-- | bash_include | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bash_include b/bash_include index 85b7709..83e57c7 100644 --- a/bash_include +++ b/bash_include @@ -107,8 +107,12 @@ startcolor umask 0022 -bind '"\e[A":history-search-backward' -bind '"\e[B":history-search-forward' +tty -s +if [ "$?" == "0" ] +then + bind '"\e[A":history-search-backward' + bind '"\e[B":history-search-forward' +fi shopt -s histappend |