Add support for adding all files in a folder if "/*" is included in the given path. For example:
plug "$HOME/plugins/*"
For the original functionality I have removed the glob pattern matching there because it is currently not being used since we are only sourcing the 1st element return of initfiles array. Instead of creating a loop and be done with it, I decided to look for specific "*" included in the path then do a loop otherwise I just source the 1st element, keeping the original function intact
initfiles
array. Instead of creating a loop and be done with it, I decided to look for specific "*" included in the path then do a loop otherwise I just source the 1st element, keeping the original function intact