GithubHelp home page GithubHelp logo

Comments (8)

gsamokovarov avatar gsamokovarov commented on June 9, 2024 1

You are probably using an older version of jump, the newer ones use source instead of . , will be closing this issue but feel free to reopen it if there are still problems with the fish integration.

from jump.

mail2fish avatar mail2fish commented on June 9, 2024
status --is-interactive; and . (jump shell | psub)

will output error like below

/var/folders/lx/l92vp3f92zj3syxygbhkpcrr0000gn/T//.psub.kBKoDsbPLV: Command substitutions not allowed

from jump.

gsamokovarov avatar gsamokovarov commented on June 9, 2024

I'm actually running fish shell. Can you give me a bit more context about your system and fish version?

from jump.

mail2fish avatar mail2fish commented on June 9, 2024
$ fish --version
fish, version 3.0.2

image

from jump.

mail2fish avatar mail2fish commented on June 9, 2024

image

from jump.

mewmew avatar mewmew commented on June 9, 2024

I get the same error, running on Arch Linux with fish version 3.0.2.

After adding the line to ~/.config/fish/fish.config, I get this error when starting a new fish shell:

/tmp/.psub.DBdse2QvUH: Command substitutions not allowed
from sourcing file /tmp/.psub.DBdse2QvUH
	called on line 359 of file /usr/share/fish/config.fish

in function “.”
	called on line 107 of file ~/.config/fish/config.fish

from sourcing file ~/.config/fish/config.fish
	called during startup

source: Error while reading file “/tmp/.psub.DBdse2QvUH”
u@x220 ~> tail .config/fish/config.fish 
# Autojump using https://github.com/gsamokovarov/jump
status --is-interactive; and . (jump shell | psub)

Edit:

Using status --is-interactive; and source (jump shell fish | psub) fixed the issue for me. Thanks @mail2fish for the workaround and @gsamokovarov for releasing Jump!

from jump.

 avatar commented on June 9, 2024

I am running starship in fish and I put
status --is-interactive; and source (jump shell fish | psub)
in my fish config file yet when I try to utilize jump it tells me the database is empty and that I haven't integrated yet.

from jump.

gsamokovarov avatar gsamokovarov commented on June 9, 2024

You do sound like you are integrated but haven't entered directories in the new shell session that has been integrated with jump.

If you still think the Fish integration is the issue, you may try jump shell fish | source as this is the simpler way to integrate jump in newer Fish shells. I'll go ahead and promote this integration in the README.

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.