add ngrok shortcut to start static domain proxy
This commit is contained in:
parent
e50a5d41f2
commit
99b69f2071
1 changed files with 5 additions and 0 deletions
|
|
@ -193,6 +193,11 @@ gcr() {
|
||||||
fi
|
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
|
# Set prompt
|
||||||
if [ "$color_prompt" = yes ]; then
|
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\] \$ "
|
PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]\$(parse-git-branch)\[\033[00m\] \$ "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue