Monday, October 13, 2008

How to *not* go mad.

echo 'set bell-style none' > ~/.inputrc
usermod myuser -s /bin/ksh93

[edward@SXCE-Workstation]:/export/home/edward:~>cat .kshrc
/usr/sbin/psrinfo -vp | sed 's/[^t]//' | tail -1
set -o ignoreeof
stty susp '^z'
export PS1=$'\E[0m['$'\E[1;32m'`logname`$'\E[0m'@$'\E[1;36m'`hostname`$'\E[0m]':$'\E[1;34m''$PWD'$'\E[0m:~>' #Custom prompt settings
export PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/X/bin:/usr/X11/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sfw/bin:/usr/gnu/bin:/opt/scons/bin/

# If there is no VISUAL or EDITOR to deduce the desired edit
# mode from, assume vi(C)-style command line editing.
if [ -z "$VISUAL" -a -z "$EDITOR" ]; then
set -o vi

No comments: