aliases

Initial settings for ksh history and aliases

Out of the box, OpenBSD doesn’t come with a history file set, so when you logoff your history for that session is lost. Here’s how I set the history file and a few favourite aliases. Add export ENV="$HOME/.kshrc" to the end of .profile Put the following in .kshrc HISTFILE="$HOME/.ksh_history" HISTSIZE=5000 HISTCONTROL=ignoredups:ignorespace alias la="ls -la" alias h=history alias doas="doas "