mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 21:20:08 +00:00
|
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
bash is compiled with the paths to its system wide profile and bashrc (SYS_PROFILE and SYS_BASHRC) and there is no way to query bash for them. Previously kitty guessed locations in /etc, which fails on distros that keep these files elsewhere, such as hermetic /usr distros like Clear Linux (/usr/share/defaults/etc) or Nix (/etc/bashrc). Now find the paths by scanning the bash executable for them, both in kitty and in kitten run-shell (so it works on remote hosts via the ssh kitten). The result is cached per executable in kitty. If the scan fails, or the locations are explicitly specified via the environment, the previous behavior is used. Fixes #10819 |
||
|---|---|---|
| .. | ||
| bash | ||
| fish | ||
| ssh | ||
| zsh | ||