From 5ee3345021c1624077d2f167dfd3c04f08193b2a Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Wed, 22 May 2024 10:37:33 -0400 Subject: [PATCH] add ngrok command check in .zshrc --- zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index b7f5205..ead4538 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -189,3 +189,8 @@ if [ $? -ne 0 ]; then else alias lg="lazygit" fi + +command -v ngrok > /dev/null 2>&1 +if [ $? -ne 0 ]; then + echo -e "$WARNING ngrok is not installed" +fi