From ca58587217661357663967667ff8b2a57df0671a Mon Sep 17 00:00:00 2001 From: Kyle Welsby Date: Wed, 16 Jan 2019 18:16:08 +0000 Subject: [PATCH] Fixes #1203 convert alias to aliases A ungraceful patch but fixes this one case where the command is singular `alias` while the file are plural with `aliases. --- lib/helpers.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/helpers.bash b/lib/helpers.bash index 7e9ff2ab..3a47cd4a 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -452,6 +452,9 @@ _enable-thing () for f in "${BASH_IT}/$subdirectory/available/"*.bash do to_enable=$(basename $f .$file_type.bash) + if [ "$file_type" = "alias" ]; then + to_enable=$(basename $f ".aliases.bash") + fi _enable-thing $subdirectory $file_type $to_enable $load_priority done else