blob: afa89c13d9e44871c7d6c1f2e1d4552aaf45902c (
plain)
1
2
3
4
5
6
7
8
9
|
# ~/.profile
[ -f /etc/hostname ] && HOSTNAME=$(cat /etc/hostname) || HOSTNAME=$(cat ~/.hostname)
export PATH=~/bin:$PATH:~/go/bin
[ "${SHELL##*/}" = bash ] && [ -f ~/.bashrc ] && . ~/.bashrc
[ -f ~/.profile-$HOSTNAME ] && . ~/.profile-$HOSTNAME
|