This commit is contained in:
Kovid Goyal 2023-10-31 17:59:08 +05:30
parent 7e1580ef09
commit a04d19df4a
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -109,7 +109,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
end
# Note that neither alias nor function is recursive in fish so if the user defines an alias/function
# for sudo it will be clobbered by us, so only install this is sudo is not already function
# for sudo it will be clobbered by us, so only install this if sudo is not already function
if not contains "no-sudo" $_ksi
and test -n "$TERMINFO" -a "file" = (type -t sudo)
# Ensure terminfo is available in sudo