fix: sudo alias overridden by kitty shell integration

This commit is contained in:
Noah Masur 2023-10-27 19:43:55 -04:00
parent f9ac9b1063
commit 77708aebd9

View File

@ -26,9 +26,14 @@
}; };
}; };
# Alias sudo to doas for convenience home-manager.users.${config.user}.programs = {
home-manager.users.${config.user}.programs.fish.shellAliases = {
sudo = "doas"; # Alias sudo to doas for convenience
fish.shellAliases = { sudo = "doas"; };
# Disable overriding our sudo alias with a TERMINFO alias
kitty.settings.shell_integration = "no-sudo";
}; };
}; };