Lx4U-book/docs/scripts/inputrc.md

10 lines
200 B
Markdown
Raw Normal View History

2021-07-06 17:57:26 +08:00
```bash
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
```