add zsh function to spawn static domain ngrok instance

This commit is contained in:
jc 2024-05-22 10:43:30 -04:00
commit c97d18db1d
No known key found for this signature in database

View file

@ -143,6 +143,11 @@ git-prune() {
git branch -vv | grep '\[origin/.*: gone\]' | awk '{print $1}' | xargs git branch -d git branch -vv | grep '\[origin/.*: gone\]' | awk '{print $1}' | xargs git branch -d
} }
# makes it easier to spin up ngrok with static domain, pass in the port ngrok needs to listen
sngrok() {
ngrok http --domain=hyena-merry-literally.ngrok-free.app $1
}
# Load colors if possible # Load colors if possible
autoload -U colors && colors autoload -U colors && colors