From 99b69f2071bcd8a300f3b3105a0a6ebdedd1873e Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Sat, 15 Jun 2024 21:06:56 -0400 Subject: [PATCH] add ngrok shortcut to start static domain proxy --- bash/.bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 74d0807..cb3a35e 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -193,6 +193,11 @@ gcr() { fi } +# 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 +} + # Set prompt if [ "$color_prompt" = yes ]; then PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]\$(parse-git-branch)\[\033[00m\] \$ "