Skip to content

Instantly share code, notes, and snippets.

@4rc0s
Created November 19, 2008 21:16
Show Gist options
  • Save 4rc0s/26723 to your computer and use it in GitHub Desktop.
Save 4rc0s/26723 to your computer and use it in GitHub Desktop.
gistname = ENV['TM_FILEPATH'] ? ENV['TM_FILEPATH'].split('/')[-1] : "file" << "." << get_extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment