Merge pull request #497 from EdHurtig/patch-1

Check for PTY before attempting to use bind
pull/504/head^2
Nils Winkler 2015-06-08 23:32:02 +01:00
commit 1eb095a134
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
# enter a few characters and press UpArrow/DownArrow
# to search backwards/forwards through the history
if [ -t 1 ];
then
bind '"":history-search-backward'
bind '"":history-search-forward'
fi