-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zellij run -- <exec> <args>
yields Command not found: <exec>
#3599
Comments
Note that Now on the help part: You can check the |
Wouldn't be a good idea for |
Is there a way to get zellij to inherit
I start |
For me too but it is how it is. I don’t code this just helping on the support side 😅
This is not an issue. You can configure your terminal to start your shell and tell it to start zellij (either by auto-load or by giving it the command).
This is more problematic since you don’t get the environment you want. This is this problem that initially made me try to create a plugin (https://github.com/Zykino/zellij-console) that try to expose the plugin API to the user. At first I was limited to only from a plugin pane, and now thanks to pipes I can work with CLI. But I did not have time to work on it when pipes were introduced, I adapted to them only recently. I still have some issues with kind of everything, but I want to release a first version soon TM even with issues… Right now the |
Macos/Alacritty user here: As I continued to search after posting this I found this #2349 |
Issue Description
The command
zellij run
cannot see all executables that are part of$PATH
. In my case, I usenix
to manage executables; I will often have binaries that are only relevant to a given project defined within aflake.nix
file. Nix then ensures that declared binaries are installed and included in the$PATH
. However, when I runzellij run -- cargo run
, I get the following message:The command
cargo
is available at the location/nix/store/q5fs39w0pshsvp1icdpfnx8vkf6m3fx4-cargo-nightly-minimal-2024-09-11/bin/cargo
and I can execute it within the terminal otherwise. Note that I have multiple versions ofcargo
on my system including one atUsers/<user>/.cargo/bin
andzellij run
is still unable to see either executable.System Information
zellij --version
zellij 0.40.1
stty size
34 122
uname -av
Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64 arm Darwin
Reproduction Steps
zellij run -- <command not under /bin or without explicit path>
The text was updated successfully, but these errors were encountered: