Skip to content

Instantly share code, notes, and snippets.

View jherskow's full-sized avatar
🚂

Joshua Herskowitz jherskow

🚂
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)