aboutsummaryrefslogtreecommitdiff
path: root/src/config/files/shell/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/files/shell/bashrc')
-rw-r--r--src/config/files/shell/bashrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config/files/shell/bashrc b/src/config/files/shell/bashrc
new file mode 100644
index 0000000..2161b13
--- /dev/null
+++ b/src/config/files/shell/bashrc
@@ -0,0 +1,16 @@
+# .bashrc
+
+# Source global definitions
+if [ -f /etc/bashrc ]; then
+ . /etc/bashrc
+fi
+
+# User specific aliases and functions
+if [ -d ~/.bashrc.d ]; then
+ for rc in ~/.bashrc.d/*; do
+ if [ -f "$rc" ]; then
+ . "$rc"
+ fi
+ done
+fi
+unset rc