From 77195d5de3d5646a9dcb78fc9065c6299c8cdbd5 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Thu, 10 Feb 2022 23:17:33 +0100 Subject: [PATCH] [bash] Read .local/bashrc.private if available --- bash/bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bash/bashrc b/bash/bashrc index 66d3186..9b2ff9f 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -47,5 +47,9 @@ fi # Always source a local bashrc [ -r "$HOME/.bashrc.local" ] && source "$HOME/.bashrc.local" +# Use the local(ly linked) bashrc.private +[ -r "$HOME/.local/bashrc.private" ] && source "$HOME/.local/bashrc.private" + + # Also check in .local for a bashrc [ -r "$HOME/.local/bashrc" ] && source "$HOME/.local/bashrc"