Giter Club home page Giter Club logo

Comments (6)

gsamokovarov avatar gsamokovarov commented on July 29, 2024 1

I'm glad you like jump and it seems to be properly running now. I think the documentation is fine for now, as I haven't got much integration complaints, but I'll keep an open mind about it.

Happy jumping!

from jump.

gsamokovarov avatar gsamokovarov commented on July 29, 2024 1

You can be specific about the shell integration, and don't let jump infer it by the $SHELL env with jump shell zsh. Is this working for you @JekRock?

from jump.

JekRock avatar JekRock commented on July 29, 2024 1

@gsamokovarov that works, not a problem at all. Just suggested a possible reason for the behavior described in this issue.

Thanks for the cool tool!

from jump.

gsamokovarov avatar gsamokovarov commented on July 29, 2024

jump shell is а command that outputs the shell integration code. It can automatically infer the current shell based on the value of the $SHELL ENV which is usually correct. It can be mangled when you run bash session inside your regular zsh one, as a single example. If you have a problem with the automatic guess, you can be more explicit and tell jump shell which shell integration code to print with jump shell zsh or jump shell fish, etc.

If you have issues with jump's integration I'd start with running which j, if it's not a shell function then the integration code hasn't run. Are you sure you're running zsh or you have setup'd jump for the proper user?

Can you give me a bit more information about your environment? OS, zsh version and an excerpt of the ZSH configuration file can help me.

from jump.

w0rmr1d3r avatar w0rmr1d3r commented on July 29, 2024

Hello @gsamokovarov !

More information:
OS -> macOS Catalina 10.15.7
zsh version -> zsh 5.7.1 (x86_64-apple-darwin19.0) (obtained from running zsh --version)
When running echo $SHELL it prompts /bin/zsh
When running which j, it prompts:

j () {
	local dir="$(jump cd $@)"
	test -d "$dir" && cd "$dir"
}

I have installed j using brew, as in the README.md -> brew install j

What I did, following this repo's README.md, after installing j (with brew), I appended eval "$(jump shell)" in my .zshrc file. But it did nothing.

I had to run jump shell and add eval "$(jump shell zsh)" in my .zshrc file instead of eval "$(jump shell)", which is what the README.md told me to do, to add the latter.
I have j running and it's awesome, my question is, is the documentation outdated regarding the installation?

Thank you @gsamokovarov !

from jump.

JekRock avatar JekRock commented on July 29, 2024

@w0rmr1d3r how do you start your zsh? If you start it from bash (for example, by adding zsh at the end of .bashrc), then jump will detect it as bash not zsh. I've just got the same situation here.

from jump.

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.