From cdcaea7033374a252e53819a2b963dfb17ab9826 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 21 May 2023 19:35:20 +0200 Subject: [PATCH] Dedicate folder for bash aliases --- .bash_aliases => .bash_aliases/all | 0 .bashrc | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename .bash_aliases => .bash_aliases/all (100%) diff --git a/.bash_aliases b/.bash_aliases/all similarity index 100% rename from .bash_aliases rename to .bash_aliases/all diff --git a/.bashrc b/.bashrc index 18feafe..60088e2 100644 --- a/.bashrc +++ b/.bashrc @@ -5,7 +5,8 @@ source /etc/os-release # Aliases {{{ # Load aliases dynamically -[ -f "$HOME/.bash_aliases" ] && source "$HOME/.bash_aliases" +[ -f "$HOME/.bash_aliases/all" ] && source "$HOME/.bash_aliases/all" +[ -f "$HOME/.bash_aliases/$HOSTNAME" ] && source "$HOME/.bash_aliases/$HOSTNAME" # }}} # Prompt {{{