GithubHelp home page GithubHelp logo

Comments (7)

franciscolourenco avatar franciscolourenco commented on August 23, 2024 1

Fixed in v1.19.1. Please re-open if necessary.

from done.

franciscolourenco avatar franciscolourenco commented on August 23, 2024

@PicoSushi which command where/are you using to launch tmux? Are you using any options / parameters? Thanks!

from done.

Feko avatar Feko commented on August 23, 2024

Same thing here, seems like done comes as default in CachyOS. I'm launching tmux as:

       │ File: .config/fish/conf.d/tmux.fish
--------------------------------------------------------------
   1   │ if status is-interactive
   2   │     if not set -q TMUX
   3   │         tmux new-session -c $PWD
   4   │     end
   5   │ end

EDIT:
It seems that it gets the fish pid correctly in the first attempt, but when executing ps -o command= $pid, my output doesn't include tmux* for some reason - it's just -fish. So it tries the next pid returned by ps -o ppid= - in my case it's systemd, which again doesn't have tmux*. The next ppid is 1, the next one is 0 - which errors.

Commenting the whole while block fixed it for me.

from done.

franciscolourenco avatar franciscolourenco commented on August 23, 2024

So the problem seems to be caused by the $PWD. I didn't expect this to happen since the v1.19.1.

@Feko could you check which version of done you have installed with the following command?

echo $__done_version

from done.

Feko avatar Feko commented on August 23, 2024

Hey @franciscolourenco thanks for your quick response 🙂 . I have:

❯ echo $__done_version
1.16.3

It seems the version that comes with CachyOS is somewhat outdated, I'll figure out how to update this.
Thanks again for your prompt reply!

from done.

franciscolourenco avatar franciscolourenco commented on August 23, 2024

@Feko can you confirm if upgrading fixed the problem?

from done.

Feko avatar Feko commented on August 23, 2024

from done.

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.