Closed SamuelSarle closed 3 years ago
This patch fixes aforementioned issue for my environment:
fish, version 3.2.2
tmux 3.0a
Pop!_OS 20.04 LTS
Hi,
Any ETA on when this PR can be merged?
This fixed it for me.
fish 3.3.0
tmux 3.2a
macOS 11.4
@AaronLasseigne Since it's working when can this be merged to the master?
Hey everyone, sorry for the delay on merging this PR.
@SamuelSarle would it make sense to call string match directly instead of using a pipe like in https://github.com/franciscolourenco/done/pull/111/files#diff-3e8fa8c31a036bc177a78e46da54de1c74b7da15ce98914fddfba37c1f444d48R114
@franciscolourenco Yes, it would be better. Pushed a commit.
Thank you for the contribution!
105 introduced a call to
ps -o exe=
butexe
isn't a standard option and not found in some versions ofps
.Changing
exe
tocommand
fixes this issue. Thecommand
option is found in Linux, MacOS, FreeBSD, OpenBSD man pages forps
and should therefore be available.Tested on NixOS
Fixes #109