mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00: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:
parent
6ea812679f
commit
fbbfb25702
5 changed files with 17 additions and 8 deletions
|
|
@ -209,9 +209,7 @@ _ksi_main() {
|
|||
_ksi_prompt[ps0]+="\[\e]133;C\a\]"
|
||||
fi
|
||||
|
||||
[[ -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"
|
||||
|
||||
if [[ "${_ksi_prompt[complete]}" == "y" ]]; then
|
||||
_ksi_completions() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue