blob: bd587148ffb700a2a6f710111e92820e2fe946d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $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
|