summaryrefslogtreecommitdiff
path: root/.profile
blob: 983092cf0518c67f49056a200151294f1ef3bdde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# ~/.profile

PATH=~/bin:/opt/homebrew/bin:$PATH:~/go/bin:~/.cargo/bin

if [ -z "$SSH_AUTH_SOCK" ] ; then
  eval `ssh-agent -s`
  ssh-add
fi

[ "${SHELL##*/}" = bash ] && . ~/.bashrc

# Last action: auto start X11 when logged on first console
#case $HOSTNAME in
#([sS]wift|yoda) [ "$(tty)" != /dev/tty1 ] || exec startx ;;
#esac

. "/opt/homebrew/etc/profile.d/bash_completion.sh"