Skip to content

Instantly share code, notes, and snippets.

@godkinmo
Created October 26, 2020 09:00
Show Gist options
  • Save godkinmo/da941148faf0259c28f1d2976f9e8984 to your computer and use it in GitHub Desktop.
Save godkinmo/da941148faf0259c28f1d2976f9e8984 to your computer and use it in GitHub Desktop.
My zsh function to quick open tinkerwell in terminal
function tinkerwell {
if [ $# -eq 0 ] || [ $1 = "." ]; then
TW_PATH=$(pwd)
else
TW_PATH=$1
fi
TW_PATH=$(echo -n $TW_PATH | base64)
open "tinkerwell://?cwd=$TW_PATH"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment