Skip to content

[bug]: integrated terminal does not have access to snap #1457

@tcrasset

Description

@tcrasset

Bug Description

I don't have access to binaries installed in /snap.

On my normal terminal, I /snap/bin is in my $PATH, but in the integrated one, it isn't, leading to binaries not being found. Running them with the absolute path though works.

Normal terminal

avatar/services on  main [$?⇣] on ☁️  octopize (eu-west-3) on ☁️  tom@octopize.io 
➜ which bitwarden
/snap/bin/bitwarden

avatar/services on  main [$?⇣] on ☁️  octopize (eu-west-3) on ☁️  tom@octopize.io 
➜ which tldr
/snap/bin/tldr

Integrated terminal

platform-pdfgenerator-refacto-7jj/services/api on  tc/platform-pdfgenerator-refacto-7jj [$!] via 🐍 v3.13.7 on ☁️  octopize (eu-west-3) on ☁️  tom@octopize.io
❯ which bitwarden
bitwarden not found

platform-pdfgenerator-refacto-7jj/services/api on  tc/platform-pdfgenerator-refacto-7jj [$!] via 🐍 v3.13.7 on ☁️  octopize (eu-west-3) on ☁️  tom@octopize.io
❯ which tldr
tldr not found

platform-pdfgenerator-refacto-7jj/services/api on  tc/platform-pdfgenerator-refacto-7jj [$!] via 🐍 v3.13.7 on ☁️  octopize (eu-west-3) on ☁️  tom@octopize.io
❯ /snap/bin/tldr
usage: tldr command [options]

Python command line client for tldr

positional arguments:
  command               command to lookup

Steps to Reproduce

/

Actual vs Expected Behavior

Expected to have /snap/bin in the PATH, and thus have access to snap binaries in the terminal.

emdash Version

0.4.31

Operating System

Ubuntu 25.10

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions