summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-06-12 15:42:14 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-06-12 15:42:14 +0100
commitcacf65f91c57a899520baf507e29aed8fc24765e (patch)
tree2b6c4696afd35821a87346dd4e3e3ae8a87abf26
parent5f2f5878fc7bbee0d2f805ead44506b58a4d3c47 (diff)
Add .bash_profile and .bashrc
l---------.bash_profile1
-rw-r--r--.bashrc10
2 files changed, 11 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
new file mode 120000
index 0000000..5157537
--- /dev/null
+++ b/.bash_profile
@@ -0,0 +1 @@
+.bashrc \ No newline at end of file
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..558cc76
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,10 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything.
+[[ $- != *i* ]] && return
+
+# Adds `~/.local/bin` to $PATH
+export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')"
+