Skip to content

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

Open
@MrTuckie

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions