Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Reload Shell config after go install

six2dezba1b3c2114f7
diff --git a/install.sh b/install.sh
index b0a5115..3bbbeda 100755
--- a/install.sh
+++ b/install.sh
@@ -66,7 +66,6 @@ export GOROOT=/usr/local/go
export GOPATH=\$HOME/go
export PATH=\$GOPATH/bin:\$GOROOT/bin:\$PATH
EOF
-source ~/.bashrc
fi
if [ -f ~/.zshrc ]
@@ -78,9 +77,8 @@ export GOROOT=/usr/local/go
export GOPATH=\$HOME/go
export PATH=\$GOPATH/bin:\$GOROOT/bin:\$PATH
EOF
-source ~/.zshrc
fi
-
+exec $SHELL -l &>/dev/null
fi
[ -n "$GOPATH" ] || { printf "${bred} GOPATH env var not detected, add Golang env vars to your \$HOME/.bashrc or \$HOME/.zshrc:\n\n export GOROOT=/usr/local/go\n export GOPATH=\$HOME/go\n export PATH=\$GOPATH/bin:\$GOROOT/bin:\$PATH\n\n"; exit 1; }