: # .kshrc -- Commands executed by each Korn shell at startup. # -- Every sub-shell runs this script. # If there is no VISUAL or EDITOR to deduce the desired edit # mode from, assume vi(C)-style command line editting. if [ -z "$VISUAL" -a -z "$EDITOR" ]; then set -o vi fi