Open geoffroy-aubry opened 12 years ago
Problem is that on mac os, even with bash 4, you got twgit/conf/twgit-dist.sh: line 68: declare: -A: invalid option ...
Hello, some twgit commands recursively execute twgit. Probably you need to update TWGIT_BASH_EXEC
in twgit/conf/twgit.sh
. Default value is: TWGIT_BASH_EXEC="/bin/bash"
, but path of Bash 4 on OSX must be different…
there are some others problems with macos. I fixed it here : https://github.com/rderocle/twgit/compare/hotfix-1.13.1?expand=1
what do you think ? It works on macos 10.9.1, bash 4
it would really be interesting to alert the user during the installation processus for this particular behaviour. I just installed Twgit on a fresh Maverick configuration (bash 3.2 :D) and it installed with color display without any problem... it was just when asking for a twgit feature (or other command) that twgit began to crash. I'll try to play a little with this new configuration to see if something nice could be done to this :bug:
Better than bug: 'declare -A: invalid option'…