Last active
August 27, 2018 12:08
-
-
Save xaratustrah/10496352 to your computer and use it in GitHub Desktop.
make_permut.sh
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
ruby -e '"make".chars.permutation.map(&:join).each {|str| puts "alias "+str.to_s+"=\"make\""}' | cat >> .bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With this one-liner you can make aliases for the make command, so that no matter what time of the day it is, you can always compile your code ;-)