summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-04-18 10:35:20 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-04-18 10:35:20 -0600
commit33a7ea4e59cb9c9436e3af3cea3724815ccc5342 (patch)
tree44f6877746885cf7226e46dce81942d10eff9012
parent593acd3a3f57224b6b195ebc519bc40983ac1382 (diff)
add sourcing of /etc/bashrc
-rw-r--r--.bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index fd006d2..27adc27 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,6 +1,10 @@
# if not running interactively, don't do anything
[[ $- != *i* ]] && return
+if [ -f /etc/bashrc ]; then
+ source /etc/bashrc
+fi
+
# color mapping
grey='\[\033[1;30m\]'
red='\[\033[0;31m\]'