Last active
March 24, 2018 14:02
-
-
Save selfup/84f2a2c4e7a941bda8d0d2cc614243b0 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
function cmxs { | |
alias cmxsh="chmod +x ./scripts/*.sh" | |
function meta_mod { | |
echo $cmxsh >> ./scripts/chmodx.sh && $cmxsh | |
} | |
if [ -d scripts ] | |
then | |
meta_mod | |
else | |
mkdir scripts && meta_mod | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment