Skip to content

Instantly share code, notes, and snippets.

@tjluoma
Created January 9, 2016 22:28
Show Gist options
  • Select an option

  • Save tjluoma/7f9da900cbcc6a1fd80d to your computer and use it in GitHub Desktop.

Select an option

Save tjluoma/7f9da900cbcc6a1fd80d to your computer and use it in GitHub Desktop.
TextExpander snippet for https://github.com/vektorlab/slackcat/. You can change the list of channels to suit your needs.
slackcat %fillpopup:name=TEE-or-NOT:default=--tee:% --channel %fillpopup:name=CHANNEL:default=general:random% %fillpopup:name=FILENAME:default=:--filename %
@tjluoma
Copy link
Author

tjluoma commented Jan 9, 2016

This is how it normally appears:

slackcat-default

Three drop-down fields:

  1. Use --tee (default) or not
  2. Which channel to send it to
  3. Are you uploading a file? (Default: no)

This is what it looks like if you are uploading a file:

slackcat-with-filename

after the snippet expands, the cursor will be left in place to include the filename

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