actually reads from the ./extensions folder and loads every .sh file now

osx
Adam Veldhousen 2016-06-03 04:14:43 -05:00
parent 6d3794a9e1
commit a60102988f
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ if [ -f ~/.extensions ]; then
. ~/.extensions
# Sources a folder with shell extensions
elif [ -d ~/.extensions ]; then
for plugin in ~/.extensions/; do
echo $plugin
for plugin in ~/.extensions/*; do
source $plugin
done
fi