mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
Shell integration: Check fish version and exit on outdated versions
This commit is contained in:
parent
b212fd5bcd
commit
7b8c2c846f
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ end
|
|||
|
||||
status is-interactive || exit 0
|
||||
not functions -q __ksi_schedule || exit 0
|
||||
# Check fish version 3.3.0+ efficiently and exit on outdated versions
|
||||
set -q fish_killring || exit 0
|
||||
|
||||
function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after other scripts have run, we hope"
|
||||
functions --erase __ksi_schedule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue