summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-11-18 12:16:43 +0100
committerAnton Khirnov <anton@khirnov.net>2020-11-18 12:17:05 +0100
commit8da65a09931618a5c9cc252b9963feed9a036922 (patch)
tree1abaeb093775f62e5a0f34595fee41324349fc02 /bash
parent5e7632085cd5c03fc558f4ab12270da554ca3f52 (diff)
bashrc: read machine-local config
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index a4506c2..2e48a70 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -30,3 +30,6 @@ stty -ixon
# define the prompt
. ~/.config/bash/prompt
PS1=$(__prompt_func)
+
+# source the machine-local configuration
+[ -r "$HOME/.config/bash/bashrc_local.bash" ] && . "$HOME/.config/bash/bashrc_local.bash"