252a83f614
Also did some cleanup in ash sources, to make minix modifications more obvious, as well as some simplifications (by removing code which is never compiled) Removed EDITLINE support, use libedit, which does the termcap/terminfo handling. Change-Id: I19f7f425ed6a61298844631f9d7f3173cf7f30c0
15 lines
300 B
Bash
15 lines
300 B
Bash
# Login shell profile.
|
|
|
|
# Activate emacs keybindings and command line history support
|
|
set -o emacs
|
|
|
|
# Check terminal type.
|
|
case $TERM in
|
|
dialup|unknown|network)
|
|
echo -n "Terminal type? ($TERM) "; read term
|
|
TERM="${term:-$TERM}"
|
|
unset term
|
|
esac
|
|
|
|
# Shell configuration.
|
|
unset EDITOR; . $HOME/.ashrc
|