Closed PicoSushi closed 5 months ago
@PicoSushi which command where/are you using to launch tmux? Are you using any options / parameters? Thanks!
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.
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
Hey @franciscolourenco thanks for your quick response :slightly_smiling_face: . 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!
@Feko can you confirm if upgrading fixed the problem?
Yup, updating locally fixed it :)
On Wed, 6 Dec 2023, 08:40 Francisco Lourenço, @.***> wrote:
@Feko https://github.com/Feko can you confirm if upgrading fixed the problem?
— Reply to this email directly, view it on GitHub https://github.com/franciscolourenco/done/issues/131#issuecomment-1842432110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPYGB6HRFA3QJZBUBSX43DYIAVORAVCNFSM52SBPCJKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBUGI2DGMRRGEYA . You are receiving this because you were mentioned.Message ID: @.***>
Fixed in v1.19.1. Please re-open if necessary.
Recently I'm trying done. The command
sleep 6
sometimes occurs error message as below:These messages are sometimes shown, and sometimes not. I guess that
$tmux_fish_ppid
is not working well.my environment: