Add automatic function loading
This commit is contained in:
parent
7bd71d0a09
commit
cf14bde633
1 changed files with 5 additions and 0 deletions
|
@ -20,3 +20,8 @@ vimswitch() {
|
||||||
echo -e "Vim switched to \033[01;35mTabs\033[00m mode"
|
echo -e "Vim switched to \033[01;35mTabs\033[00m mode"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for function in $(find $(dirname $(dirname $0))/fun/ -type f -name "*.sh")
|
||||||
|
do
|
||||||
|
source $function
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue