Merge pull request #1393 from ahmed-masud/develop
Fixed test of whether or not current session is interactivepull/1394/head
commit
7fcebb09e9
|
|
@ -2,7 +2,7 @@ cite about-plugin
|
|||
about-plugin 'history manipulation'
|
||||
# enter a few characters and press UpArrow/DownArrow
|
||||
# to search backwards/forwards through the history
|
||||
if [ -t 1 ]
|
||||
if [[ ${SHELLOPTS} =~ (vi|emacs) ]]
|
||||
then
|
||||
bind '"[A":history-search-backward'
|
||||
bind '"[B":history-search-forward'
|
||||
|
|
|
|||
Loading…
Reference in New Issue