Last active
October 16, 2016 17:05
-
-
Save anxiousmodernman/80a7bf84f5c9a676e5de72d8ecc987e8 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
#!/bin/bash | |
mkdir -p $HOME/.terminal-slack | |
( | |
cd $HOME/.terminal-slack | |
git clone https://github.com/evanyeung/terminal-slack > /dev/null | |
cat > terminal-slack.sh << EOF | |
#!/bin/bash | |
node $HOME/.terminal-slack/terminal-slack/main.js | |
EOF | |
chmod +x terminal-slack.sh | |
ln $HOME/.terminal-slack/terminal-slack.sh /usr/local/bin/terminal-slack | |
) | |
echo "symlink created at /usr/local/bin/terminal-slack" | |
echo "set SLACK_TOKEN in your environment" | |
echo "get a token at https://api.slack.com/docs/oauth-test-tokens" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Commands:
Private DMs and slash commands not supported