Merge pull request #497 from EdHurtig/patch-1

Check for PTY before attempting to use bind
This commit is contained in:
Nils Winkler
2015-06-08 23:32:02 +01:00

View File

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