pry0cc / axiom

The dynamic infrastructure framework for everybody! Distribute the workload of many different scanning tools with ease, including nmap, ffuf, masscan, nuclei, meg and many more!
MIT License
4k stars 622 forks source link

Update axiom-configure #525

Closed iambouali closed 2 years ago

iambouali commented 2 years ago

The default template of .zshrc works best, as the one that is downloaded breaks the ability to set a new Oh My Zsh theme via ZSH_THEME= and more things.

To test this:

rm  ~/.zshrc
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

echo "export GOPATH=\$HOME/go" >>~/.zshrc
echo "export PATH=\$GOPATH/bin:/usr/local/go/bin:\$PATH:\$HOME/.local/bin"  >>~/.zshrc
echo "export PATH=\$GOPATH/bin:/usr/local/go/bin:\$PATH" >>~/.zshrc
echo -e "${Green}You're running ZSH! Installing Axiom to \$PATH...${Color_Off}"
echo "export PATH=\"\$PATH:\$HOME/.axiom/interact\"" >>~/.zshrc  
echo "source $HOME/.axiom/functions/autocomplete.zsh" >>~/.zshrc