Created
June 6, 2017 10:35
-
-
Save x3rAx/fc2f8e4b3f3abe518e84d663faa28a97 to your computer and use it in GitHub Desktop.
~/.bashcr.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to the bottom of your ~/.bashrc. | |
# | |
# This will source all .sh files in the ~/.bashrc.d directory and subdirectories except files that start | |
# with a '#' (so you can "comment out" files you don't want to load). | |
for f in $(find ~/.bashrc.d -type f -name '*.sh' \! -name '#*'); do | |
. "$f" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment