Lx4U-book/docs/scripts/inputrc.sh

8 lines
188 B
Bash
Raw Normal View History

2021-07-06 17:57:26 +08:00
cat > /etc/profile.d/readline.sh << "EOF"
# Setup the INPUTRC environment variable.
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then
INPUTRC=/etc/inputrc
fi
export INPUTRC
EOF