From e0c4cb9e45f339883d9ae7aeb52958c95c5ed839 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 5 Jan 2020 10:28:54 +0100 Subject: update .profile and bashrc --- .profile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .profile (limited to '.profile') 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 -- cgit v1.2.3