Skip to content

Instantly share code, notes, and snippets.

@dynnamitt
Last active March 6, 2024 10:02
Show Gist options
  • Save dynnamitt/8201064c87dfd0089347b4c2cc9c5c70 to your computer and use it in GitHub Desktop.
Save dynnamitt/8201064c87dfd0089347b4c2cc9c5c70 to your computer and use it in GitHub Desktop.
direct unzip from wget pipe (interactive selector)
#!/bin/sh
URL=${1:-https://releases.hashicorp.com/terraform-ls/0.32.7/terraform-ls_0.32.7_linux_amd64.zip}
wget -qO- $URL | bsdtar -xvf-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment