From 40f89416ac61798db38ba9dd59ea6950ce9d552f Mon Sep 17 00:00:00 2001 From: willemml Date: Mon, 13 Nov 2023 20:26:38 -0800 Subject: [PATCH] Fixes kitty edit-in-kitty with emacsclient --- home/programs/kitty/default.nix | 1 + home/programs/zsh.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/home/programs/kitty/default.nix b/home/programs/kitty/default.nix index c6ec5d2..b74203a 100644 --- a/home/programs/kitty/default.nix +++ b/home/programs/kitty/default.nix @@ -8,6 +8,7 @@ enable = true; extraConfig = '' include themes/draculaplus.conf + editor "${config.programs.emacs.finalPackage.out}/bin/emacsclient" -c ''; shellIntegration.enableZshIntegration = true; diff --git a/home/programs/zsh.nix b/home/programs/zsh.nix index aebe472..9ad6b46 100644 --- a/home/programs/zsh.nix +++ b/home/programs/zsh.nix @@ -77,6 +77,8 @@ }; shellAliases = rec { + s = "kitten ssh"; + ke = "kitten edit-in-kitty"; cd = "z"; dotd = "cd ${config.home.sessionVariables.DOTDIR} "; e = "emacsclient -c -nw"; @@ -84,6 +86,7 @@ emw = "emacs"; ew = "emacsclient -c -n"; l = "ls -1"; + lh = "ls --hyperlink"; np = "nix-shell -p"; org = "cd ${config.home.sessionVariables.ORGDIR} "; ubc = "cd ${config.home.sessionVariables.UBCDIR} ";