Could I extend git functionality in my ~/bin/ directory? -
as stated in numerous posts this extend git placing program/script in path. working if place script in example /usr/local/bin/
. add commands without being root
, if if put in ~/bin/
not found.
~/bin/
in path since added in .bashrc
this:
export path="${path}:~/bin"
i got other stuff in ~/bin/
use regularly path-thing working other things!
is there i'm missing or doing wrong here?
the missing piece naming convention:
git my-custom-made-extension ... → git-my-custom-made-extension
that means need have executable file ~/bin/git-my-custom-made-extension
(no extension, chmod 755)
plus, don't rely on ~
: git shell execute script might not have same ~
user owns script. path should include full path of home.
Comments
Post a Comment