add kitty terminal fix and sudo env preservation

This commit is contained in:
Thilo Billerbeck 2024-10-12 19:06:31 +02:00
parent a32359e19a
commit 6490aa4861
2 changed files with 4 additions and 0 deletions

View file

@ -58,6 +58,9 @@ in
'') '')
(callPackage ./../pkgs/toggl-time-grouper/package.nix { inherit python3Packages; }) (callPackage ./../pkgs/toggl-time-grouper/package.nix { inherit python3Packages; })
(callPackage ./../pkgs/extract.nix { inherit pkgs; }) (callPackage ./../pkgs/extract.nix { inherit pkgs; })
(pkgs.writeShellScriptBin "kitty-term-fix" ''
infocmp -a xterm-kitty | ssh $1 tic -x -o \~/.terminfo /dev/stdin
'')
nixpkgs-fmt nixpkgs-fmt
ddev ddev
act act

View file

@ -16,6 +16,7 @@
reload = "source ~/.zshrc"; reload = "source ~/.zshrc";
undo-git-reset-head = "git reset 'HEAD@{1}'"; undo-git-reset-head = "git reset 'HEAD@{1}'";
update-local = "bash $HOME/.dotfiles/install"; update-local = "bash $HOME/.dotfiles/install";
sudo = "sudo --preserve-env=PATH env";
}; };
initExtra = '' initExtra = ''
export PATH=~/.npm-global/bin:$PATH export PATH=~/.npm-global/bin:$PATH