Skip to content
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

Different '$PATH' variable when running nvim from terminal and from uLauncher #347

Open
MrTuckie opened this issue Dec 3, 2024 · 0 comments

Comments

@MrTuckie
Copy link

MrTuckie commented Dec 3, 2024

First of all, thanks for the amazing work in this setup. It's really good and really beautiful.
I am little newbie about writing issues in English. Here's the description:

If I run neovim through the launcher, its $PATH variable is different when i run from the alacritty terminal (alt+2 and then nvim).
I know that, behind the scenes, it's all alacritty, but something is different.

After all, what's the problem?
During the omakub installation, i chose to install go, ruby, python and node.
When I try to install (via Ulauncher) some nvim plugins (like pyright) which use node, or go, I have the following problem:

[ERROR Mon 02 Dec 2024 08:56:55 PM -03] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=goimports) error=spawn: go failed with exit code - and signal -. go is not executable
[INFO  Mon 02 Dec 2024 08:56:55 PM -03] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=erb-lint) {}
[ERROR Mon 02 Dec 2024 08:56:55 PM -03] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=markdownlint-cli2) error=spawn: npm failed with exit code - and signal -. npm is not executable
[INFO  Mon 02 Dec 2024 08:56:55 PM -03] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=bash-language-server) {}
[ERROR Mon 02 Dec 2024 08:56:55 PM -03] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=gofumpt) error=spawn: go failed with exit code - and signal -. go is not executable
[INFO  Mon 02 Dec 2024 08:56:55 PM -03] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=docker-compose-language-service) {}
[ERROR Mon 02 Dec 2024 08:56:55 PM -03] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=markdown-toc) error=spawn: npm failed with exit code - and signal -. npm is not executable

Via Launcher:
image
image

Via alacritty:
image

mise list:
image

I personally don't like using 'nvim via alacritty' because of some conflicting keymaps (like ctrl+b).

Is there a way to make both $PATH's the same?

Thanks for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant