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.pull/1312/head
parent
792593c995
commit
ca58587217
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue