tomnomnom/gf

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

Screenshot 2020-03-15 at 5 09 28 PM

Any help is appreciated!

z0x0z commented

Issue Resolved !

Add the below line in .zshrc

export PATH=$PATH:~/path/to/go/bin