bash shell:
vim ~/.bash_aliases
export PATH=/home/kali/.scripts:$PATH
:wq
保存退出
. ~/.bashrc
更新
参考:https://www.howtogeek.com/658904/how-to-add-a-directory-to-your-path-in-linux/