gf autocomplete doesn't work
z0x0z opened this issue · 1 comments
z0x0z commented
Im using Oh-my-zsh shell. Installed gf. But autocomplete is not working
Commands i used,
go get -u github.com/tomnomnom/gf
Added these lines in .zshrc,
export GOPATH="/Users/gopikrishna/go"
alias gf="$GOPATH/bin/gf"
source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.zsh
when i hit tab after gf command it shows _gf:1: command not found: gf
Any help is appreciated!
z0x0z commented
Issue Resolved !
Add the below line in .zshrc
export PATH=$PATH:~/path/to/go/bin