diff --git a/users/profiles/shells/zsh.nix b/users/profiles/shells/zsh.nix index 97a72e2..4d38756 100644 --- a/users/profiles/shells/zsh.nix +++ b/users/profiles/shells/zsh.nix @@ -31,6 +31,10 @@ \cat ~/TODO.txt fi } + + if [[ "$(basename "$(readlink "/proc/$PPID/exe")")" == ".kitty-wrapped" ]]; then + PATH=$(echo "$PATH" | sed 's/\/nix\/store\/[a-zA-Z._0-9-]\+\/bin:\?//g' | sed 's/:$//') + fi ''; dotDir = ".config/zsh";