mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Better fix for kitten not being in PATH
Add it to PATH just as we add the kitty dir to PATH. Ensures the correct kitten is in PATH, corresponding to the correct kitty.
This commit is contained in:
@@ -386,9 +386,7 @@ _ksi_deferred_init() {
|
||||
fi
|
||||
builtin unset KITTY_IS_CLONE_LAUNCH KITTY_CLONE_SOURCE_STRATEGIES
|
||||
|
||||
[[ -z "${KITTY_KITTEN_EXE}" ]] && KITTY_KITTEN_EXE="kitten"
|
||||
alias edit-in-kitty="${KITTY_KITTEN_EXE} edit-in-kitty"
|
||||
builtin unset KITTY_KITTEN_EXE
|
||||
alias edit-in-kitty="kitten edit-in-kitty"
|
||||
|
||||
# Map alt+left/right to move by word if not already mapped. This is expected behavior on macOS and I am tired
|
||||
# of answering questions about it.
|
||||
|
||||
Reference in New Issue
Block a user