Skip to content

Instantly share code, notes, and snippets.

@cereme
Created September 27, 2019 06:50
Show Gist options
  • Save cereme/0762b9e44d0e4750c43624289e95e94f to your computer and use it in GitHub Desktop.
Save cereme/0762b9e44d0e4750c43624289e95e94f to your computer and use it in GitHub Desktop.
Add directories to sourcerer
#!/bin/bash
array=($(ls -d */))
for elem in ${array[@]}; do
sourcerer add ./${elem}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment