Skip to content

Instantly share code, notes, and snippets.

@xaratustrah
Last active August 27, 2018 12:08
Show Gist options
  • Save xaratustrah/10496352 to your computer and use it in GitHub Desktop.
Save xaratustrah/10496352 to your computer and use it in GitHub Desktop.
make_permut.sh
ruby -e '"make".chars.permutation.map(&:join).each {|str| puts "alias "+str.to_s+"=\"make\""}' | cat >> .bash_profile
@xaratustrah
Copy link
Author

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 ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment