# $OpenBSD: dot.profile,v 1.7 2020/01/24 02:09:51 okan Exp $ # # sh/ksh initialization { # from https://github.com/terminalforlife config # The RHEL recommended umask for much more safety when creating new files # and directories. This is the equivalent of octal 700 and 600 for # directories and files, respectively; drwx------ and -rw-------. umask 0077 # Set up the SSH agent for key management. if eval `ssh-agent -s`; then # Only want to add keys on an SSH client, not the server. if [ "$HOSTNAME" == 'x1bsd.my.domain' ]; then [ -z "$SSH_TTY" ] && ssh-add "$HOME"/.ssh/id_rsa fi trap 'kill $SSH_AGENT_PID' EXIT fi . "$HOME"/.bashrc PATH+=":$HOME/bin" } &> /dev/null #PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games export PATH HOME export ENV=$HOME/.kshrc