Developed for members of Plasma Simulation and Experiment Group (PSEG)
The project homepage is https://github.com/wilds9/tools. (For network unimpeded considerations, this project also has a backup mirror: https://gitee.com/wilds9/tools)
mkdir -p ~/.local/opt && cd ~/.local/opt && rm -rf tools/ && git clone https://github.com/wilds9/tools.git && echo -e '\n[[ $TOOLS_LOADED == "" ]] && { TOOLS_LOADED=1; source ~/.local/opt/tools/tools.sh;}' >> ~/.bashrc && source ~/.bashrc && cd -
mkdir -p ~/.local/opt && cd ~/.local/opt && rm -rf tools/ && git clone https://gitee.com/wilds9/tools.git && echo -e '\n[[ $TOOLS_LOADED == "" ]] && { TOOLS_LOADED=1; source ~/.local/opt/tools/tools.sh;}' >> ~/.bashrc && source ~/.bashrc && cd -
cd ~/.local/opt/tools/ && git pull && cd -
Remove the following line from the file “~/.bashrc”:
[[ $TOOLS_LOADED == "" ]] && { TOOLS_LOADED=1; source ~/.local/opt/tools/tools.sh;}
If you have any questions, please send email to huidexuan@gmail.com