# .kshrc 3/14/2025 # Need to do the 'login shell' test before running this #if [ -x /usr/games/fortune ]; then # /usr/games/fortune # echo #fi # user specific aliases alias l='ls -lhF' alias la='ls -lahF' alias ..='cd ..' alias digg='dig +short +noshort' alias h='echo $HOME' alias nc='nc -v -z' alias cdm='cd $HOME/misc' alias rm='rm -P' alias p='cat' alias n='cat -n' # exports export PS1='$USER:/${PWD#/}:!$ ' export HISTFILE="$HOME/.sh_history" export PKG_PATH="http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.1/All/" if command -v emacs > /dev/null 2>&1; then export EDITOR='emacs -nw' elif command -v mg > /dev/null 2>&1; then export EDITOR='mg' fi