Merge pull request #497 from EdHurtig/patch-1
Check for PTY before attempting to use bindpull/504/head^2
commit
1eb095a134
|
|
@ -1,4 +1,7 @@
|
||||||
# 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
|
||||||
bind '"[A":history-search-backward'
|
if [ -t 1 ];
|
||||||
bind '"[B":history-search-forward'
|
then
|
||||||
|
bind '"[A":history-search-backward'
|
||||||
|
bind '"[B":history-search-forward'
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue