tomnomnom / gf

A wrapper around grep, to help you grep for things
MIT License
1.81k stars 317 forks source link

gf autocomplete doesn't work #32

Open z0x0z opened 4 years ago

z0x0z commented 4 years ago

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 4 years ago

Issue Resolved !

Add the below line in .zshrc

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