diff options
Diffstat (limited to 'x11-terms/kitty-shell-integration/files/kitty-0.30.1-no-sudo.patch')
-rw-r--r-- | x11-terms/kitty-shell-integration/files/kitty-0.30.1-no-sudo.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/x11-terms/kitty-shell-integration/files/kitty-0.30.1-no-sudo.patch b/x11-terms/kitty-shell-integration/files/kitty-0.30.1-no-sudo.patch deleted file mode 100644 index d22bca5de0b5..000000000000 --- a/x11-terms/kitty-shell-integration/files/kitty-0.30.1-no-sudo.patch +++ /dev/null @@ -1,21 +0,0 @@ -Ensure no sudo wrapper given may easily result in an error with no permission -to set TERMINFO. Normally disabled by "no-sudo" but depending on load ordering -or user configs overwriting that without disabling it as well, it could give -poor surprises. - -Not needed on Gentoo given have a kitty-terminfo package installed in standard -paths without needing TERMINFO set. ---- a/shell-integration/bash/kitty.bash -+++ b/shell-integration/bash/kitty.bash -@@ -215,4 +214,0 @@ -- if [[ "${_ksi_prompt[sudo]}" == "y" ]]; then -- # Ensure terminfo is available in sudo -- [[ -n "$TERMINFO" ]] && builtin alias sudo="sudo TERMINFO=\"$TERMINFO\"" -- fi ---- a/shell-integration/zsh/kitty-integration -+++ b/shell-integration/zsh/kitty-integration -@@ -391,4 +390,0 @@ -- if (( ! opt[(Ie)no-sudo] )); then -- # Ensure terminfo is available in sudo -- [[ -n "$TERMINFO" ]] && builtin alias sudo="sudo TERMINFO=\"$TERMINFO\"" -- fi |