When starting gitk command line getting the error. It's strange because I have newest version of Mac OS 11.1 I just upgraded git but it doesn't helped. Any ideas what to do?
macOS 11 or later required !
/usr/bin/wish: line 2: 50965 Abort trap: 6 "$(dirname $0)/../../System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish" "$@"```
Solved it by running brew install tcl
I have seen the most popular answer:
Solved it by running
brew install tcl
But after I done this, gitk
still not work, I have two versions of wish installed:
$ type -a wish
$ wish is /usr/local/bin/wish
$ wish is /usr/bin/wish
Finally I found my solution:
I edit my .zshrc file, add alias for gitk
:
alias gitk="/usr/local/bin/wish $(which gitk)"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With