Merge pull request #497 from EdHurtig/patch-1
Check for PTY before attempting to use bind
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
# enter a few characters and press UpArrow/DownArrow
|
||||
# to search backwards/forwards through the history
|
||||
bind '"[A":history-search-backward'
|
||||
bind '"[B":history-search-forward'
|
||||
if [ -t 1 ];
|
||||
then
|
||||
bind '"[A":history-search-backward'
|
||||
bind '"[B":history-search-forward'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user