diff options
-rw-r--r-- | .config/emacs/.gitignore | 1 | ||||
-rw-r--r-- | .cshrc | 18 | ||||
-rw-r--r-- | .kshrc | 10 |
3 files changed, 29 insertions, 0 deletions
diff --git a/.config/emacs/.gitignore b/.config/emacs/.gitignore index ef4ec20..0b3a0d4 100644 --- a/.config/emacs/.gitignore +++ b/.config/emacs/.gitignore @@ -7,3 +7,4 @@ server/* session.* tramp url/* +saves @@ -0,0 +1,18 @@ +# this file is processed on every csh invocation + +# set PATH and MANPATH based on machine type +eval `/usr/local/bin/defaultpaths -csh` + +# set default file/directory creation protection +umask 027 + +setenv ENTOMB yes + +# skip the rest if the shell is non-interactive, i.e. is running a script +if ( ! $?prompt ) exit + +set prompt = "`shorthostname` \! % " +set history = 50 +set notify = on + +alias mail mailx @@ -0,0 +1,10 @@ +# this file is processed on each invocation of ksh + +# skip the rest if the shell is non-interactive, i.e. is running a script +[[ "$-" != *i* ]] && return + +PS1="`shorthostname` ! $ " +HISTSIZE=50 +HISTFILE=$HOME/.sh_history # pdksh doesn't set this by default + +alias mail=mailx |