Looks familiar?
Worry no more! Use extract
and prosper!
$ extract [FILES]
Place it in your $PATH.
Do you trust me? You should, I'm a nice guy.
$ curl -fsSL https://gist.github.com/shime/5908634/raw/install | bash -e
If you get curl: (23) Failed writing body (0 != 462)
, it means you don't have write permissions to /usr/local/bin.
This will make it go away:
$ !!:s/bash/sudo bash
Zsh doesn't play really nice with that space, just paste this if it fails:
$ curl -fsSL https://gist.github.com/shime/5908634/raw/install | sudo bash -e
Enjoy!
Found this via coderwall. I have a similar function for the fish shell: https://github.com/dideler/dotfiles/blob/master/functions/extract.fish