summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/.profile b/.profile
new file mode 100644
index 0000000..afa89c1
--- /dev/null
+++ b/.profile
@@ -0,0 +1,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