Merge pull request #1393 from ahmed-masud/develop

Fixed test of whether or not current session is interactive
pull/1394/head
Nils Winkler 2019-07-08 08:39:56 +02:00 committed by GitHub
commit 7fcebb09e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ cite about-plugin
about-plugin 'history manipulation' about-plugin 'history manipulation'
# enter a few characters and press UpArrow/DownArrow # enter a few characters and press UpArrow/DownArrow
# to search backwards/forwards through the history # to search backwards/forwards through the history
if [ -t 1 ] if [[ ${SHELLOPTS} =~ (vi|emacs) ]]
then then
bind '"":history-search-backward' bind '"":history-search-backward'
bind '"":history-search-forward' bind '"":history-search-forward'