Ensure bind commands are only performed in interactive shells.
This commit is contained in:
parent
83f52531f9
commit
631a23fd28
2
.bashrc
2
.bashrc
|
@ -77,7 +77,9 @@ export GOPATH=${HOME}/src/go
|
|||
#--------------------------------------------------------------------------------
|
||||
# Rebind CTRL-T to search forward in history
|
||||
#--------------------------------------------------------------------------------
|
||||
if [ -n "$PS1" ]; then
|
||||
bind "\C-t":forward-search-history
|
||||
fi
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue