Add automatic function loading

This commit is contained in:
Talia 2021-12-28 11:52:01 +01:00
parent 7bd71d0a09
commit cf14bde633
1 changed files with 5 additions and 0 deletions

View File

@ -20,3 +20,8 @@ vimswitch() {
echo -e "Vim switched to \033[01;35mTabs\033[00m mode"
fi
}
for function in $(find $(dirname $(dirname $0))/fun/ -type f -name "*.sh")
do
source $function
done