Created
July 26, 2017 22:10
-
-
Save robvolk/251f98378453314dd5366deeb3414862 to your computer and use it in GitHub Desktop.
Slack Scrabble Emoji function in Bash
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
function scrabble { | |
node -p -e "const s = '$1'; let o = ''; for (c of s) o += ':scrabble-' + c + ': '" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/evanram/fd1b040a6bbb500a822d7e3614072b59 forked it, Rob