Fix #6812
This commit is contained in:
parent
a3c8f32c1a
commit
4c56e76840
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
|||
# 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 if sudo is not already function
|
||||
if not contains "no-sudo" $_ksi
|
||||
and test -n "$TERMINFO" -a "file" = (type -t sudo)
|
||||
and test -n "$TERMINFO" -a "file" = (type -t sudo 2> /dev/null || echo "x")
|
||||
and not test -r "/usr/share/terminfo/x/xterm-kitty" -o -r "/usr/share/terminfo/78/xterm-kitty"
|
||||
# Ensure terminfo is available in sudo
|
||||
function sudo
|
||||
|
|
|
|||
Loading…
Reference in a new issue