minix/etc/ast/.profile
Lionel Sambuc 252a83f614 Fix command line history in ash
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
2013-02-01 11:41:47 +01:00

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