I recently got a new MacBook for work and had to setup a new dev environment, and the tab-completion for git commands isn't working the way it does on my old machine. I used to be able to type git checkout 1234
and it would tab-complete to git checkout EXAMPLE-1234
, but now it doesn't. It also seems to be case sensitive and doesn't recognise any branches when I type git checkout example-
, I have to type git checkout EXAMPLE-
for it to suggest anything. Also, if I just type git che
, it doesn't show me the different command options like it does in the docs, it just completes to git checkout
. I feel like I've tried all the solutions I've found in different threads, and nothing seems to work. What am I doing wrong?
For reference, here's my .zshrc
:
export ZSH="/Users/adambelton/.oh-my-zsh"
export PATH="/usr/local/bin:$PATH"
ZSH_THEME="robbyrussell"
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh