Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gf autocomplete doesn't work #32

Open
z0x0z opened this issue Mar 15, 2020 · 1 comment
Open

gf autocomplete doesn't work #32

z0x0z opened this issue Mar 15, 2020 · 1 comment

Comments

@z0x0z
Copy link

z0x0z commented Mar 15, 2020

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
Copy link
Author

z0x0z commented Mar 15, 2020

Issue Resolved !

Add the below line in .zshrc

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant