Code Monkey home page Code Monkey logo

Comments (9)

davecowart avatar davecowart commented on April 28, 2024 11

I was able to get it working on my machine (MacOS Mojave) by adding ~/go/bin to my $PATH.

from lazygit.

MSylvia avatar MSylvia commented on April 28, 2024

The go get github.com/jesseduffield/lazygit command does not return anything if it succeeds I believe.

Have you tried calling lazygit in a git repo after the installation?

from lazygit.

ksmandersen avatar ksmandersen commented on April 28, 2024

@MSylvia Nothing is installed when I run the command.

running lazygit gives -bash: lazygit: command not found. I've confirmed that the libexec of go is part of my $PATH (/usr/local/opt/go/libexec/bin). And that directory has a few binaries but nut lazygit

from lazygit.

peterschussheim avatar peterschussheim commented on April 28, 2024

@MSylvia zsh: command not found: lazygit

from lazygit.

peterschussheim avatar peterschussheim commented on April 28, 2024

Thanks @davecowart, that fixed the issue. Looks like this was due to incorrect go installation on my local profile.

from lazygit.

LuanFreitas avatar LuanFreitas commented on April 28, 2024

@peterschussheim here did not give :(

from lazygit.

LuanFreitas avatar LuanFreitas commented on April 28, 2024

@davecowart, @peterschussheim oooh now yes. I think I was doing something wrong but I got the solution you guys used :)

from lazygit.

faimin avatar faimin commented on April 28, 2024

add the below setting to .zshrc (my default terminal is iTerm)

export PATH=$PATH:/usr/local/opt/go/libexec/bin  # go path
export PATH=$PATH:~/go/bin  # for lazygit

It work to me .

from lazygit.

jesseduffield avatar jesseduffield commented on April 28, 2024

as the readme has a note about $GOPATH, and the app can now be installed on homebrew and via binaries on the release page, I'm closing :)

from lazygit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.