我写了一个脚本git-foo,所以现在我可以运行git fooifgit-foo可以在下$PATH或中找到/usr/lib/git-core/。
如何在我的所有其他脚本所在的地方git查找,而无需附加到?git-foo$HOME/scripts/gitgit$HOME/scripts/git$PATH
我写了一个脚本git-foo,所以现在我可以运行git fooifgit-foo可以在下$PATH或中找到/usr/lib/git-core/。
如何在我的所有其他脚本所在的地方git查找,而无需附加到?git-foo$HOME/scripts/gitgit$HOME/scripts/git$PATH