Created
July 7, 2009 09:57
-
-
Save pmakholm/141988 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Have easily editable functions in bash | |
# | |
# Usage: Place this script in $FUNCTIONS and call it from you .bashrc. | |
# Rerun the script each time you add new functions. | |
FUNCTIONS=$HOME/.lib.sh | |
eval $( | |
find $FUNCTIONS -type f | \ | |
while read file ; do echo function $(basename $file)\(\) { source $file\; }\; ; done | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment