Fix shell alias for configuring terminfo

This commit is contained in:
Arnie 2025-02-13 23:56:45 +01:00
parent 76bdb1775d
commit a9132d4fbe

View File

@ -122,6 +122,7 @@ in
}; };
# Can't use the nixgl wrapper due to GTK libraries # Can't use the nixgl wrapper due to GTK libraries
#
# programs.ghostty = { # programs.ghostty = {
# enable = true; # enable = true;
@ -235,7 +236,7 @@ in
enable = true; enable = true;
shellAliases = { shellAliases = {
configure-ssh-terminfo = "f(){ infocmp -x | ssh \"$@\" -- tic -x -; unset -f f; }; f"; configure-ssh-terminfo = "${pkgs.writeShellScript "configure-ssh-terminfo" "infocmp -x | ssh \"$@\" -- tic -x -"}";
aws-ecr-login-skoda = "aws --profile skoda-prod --region eu-central-1 ecr get-login-password | sudo docker login 943160431142.dkr.ecr.eu-central-1.amazonaws.com -u AWS --password-stdin"; aws-ecr-login-skoda = "aws --profile skoda-prod --region eu-central-1 ecr get-login-password | sudo docker login 943160431142.dkr.ecr.eu-central-1.amazonaws.com -u AWS --password-stdin";
aws-ecr-login-scholaris = "aws --profile skoda-sch-dev --region eu-central-1 ecr get-login-password | sudo docker login 442913623981.dkr.ecr.eu-central-1.amazonaws.com -u AWS --password-stdin"; aws-ecr-login-scholaris = "aws --profile skoda-sch-dev --region eu-central-1 ecr get-login-password | sudo docker login 442913623981.dkr.ecr.eu-central-1.amazonaws.com -u AWS --password-stdin";