Created
October 26, 2020 09:00
-
-
Save godkinmo/da941148faf0259c28f1d2976f9e8984 to your computer and use it in GitHub Desktop.
My zsh function to quick open tinkerwell in terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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