Home > IBM, Linux / Unix / foo > simple, but well working .kshrc

simple, but well working .kshrc

January 19th, 2017 Leave a comment Go to comments

 

Ist noch in Arbeit… wird gelegentlich geupdated =) 

# Variables
HISTFILE=${HOME}/.sh_hist/.sh_hist.${TTY##*/}
HISTSIZE=1024
EXTENDED_HISTORY=ON
PS1=’${PWD} $’
if id >/dev/null 2>&1 ; then
PS1=’${VIOS}:${PWD} #’
else
PS1=’${LOGNAME}@${PWD} $’
fi

export PS1

# Allow arrow key editing
set -o emacs
alias __A=’^P’
alias __B=’^N’
alias __C=’^F’
alias __D=’^B’
alias __H=’^A’
alias __P=’^D’

# Disallow Ctrl-D logout
set -o ignoreeof

Categories: IBM, Linux / Unix / foo Tags:
  1. No comments yet.
  1. No trackbacks yet.

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.