Skip to content

Instantly share code, notes, and snippets.

View jherskow's full-sized avatar
🚂

Joshua Herskowitz jherskow

🚂
  • New York City
  • 23:31 (UTC -05:00)
View GitHub Profile
@jherskow
jherskow / scripts.sh
Last active September 6, 2022 12:33
Useful Shell Scripts
# print a line and then execute it. useful for composing scripts.
function peval() {
echo ">> $*"
eval $*
}
#grab path to project folder from git
function git_path() {
echo $(git rev-parse --show-toplevel)
#!/bin/zsh
# Runner test 2
# curl -Ls https://shorturl.at/izP02 | zsh
echo "This is a prank script!"
# say "dont run unknown executables you dumb fuck"