dotfiles/.profile

36 lines
680 B
Bash

# $OpenBSD: dot.profile,v 1.7 2020/01/24 02:09:51 okan Exp $
#
# sh/ksh initialization
# dvonik 20220412
#
case $TERM in
rxvt*|st*|xterm*) LANG="en_US.UTF-8"; ;;
vt*) LANG="C"; ;;
esac
CVSROOT="$HOME/cvs"
HISTFILE="$HOME/.history"
HISTSIZE=64
PATH=":$HOME/bin:$HOME/.local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:"
export PATH HOME LANG EDITOR CVSROOT HISTFILE HISTSIZE
[ -e "Downloads" ] && rm -rf "Downloads"
[ -e "Desktop" ] && rm -rf "Desktop"
alias mkdir="mkdir -p"
alias rm="rm -P"
fenc() {
openssl enc -aes-256-cbc -in $1 -out $2
}
denc() {
openssl enc -d -aes-256-cbc -in $1 -out $2
}
# done
fortune
biff y