Skip to content

Instantly share code, notes, and snippets.

@alaztetik
Created November 23, 2022 18:58
Show Gist options
  • Save alaztetik/9018ca37572bd67d35dafe43e9ca2c3b to your computer and use it in GitHub Desktop.
Save alaztetik/9018ca37572bd67d35dafe43e9ca2c3b to your computer and use it in GitHub Desktop.
You can run shell scripts on gist.github.com on your local computer
# You can provide arguments:
zsh <(curl -sL ${full_gist_url}) [arguments]
# in the script, you should have shebang directive at the very beggining:
#!/usr/bin/zsh
# You can have the arguments with e.g. echo:
echo "Hello, World! and $@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment