diff --git a/users/infinidoge/config/doom/config.el b/users/infinidoge/config/doom/config.el index 8700dc2..eba470a 100644 --- a/users/infinidoge/config/doom/config.el +++ b/users/infinidoge/config/doom/config.el @@ -53,7 +53,10 @@ (setq deft-recursive t) -(setq tramp-default-method "ssh") +(setq + tramp-default-method "ssh" + tramp-terminal-type "tramp" + ) (after! flyspell (setq flyspell-lazy-idle-seconds 1)) diff --git a/users/profiles/shells/zsh.nix b/users/profiles/shells/zsh.nix index 34835d0..540de8c 100644 --- a/users/profiles/shells/zsh.nix +++ b/users/profiles/shells/zsh.nix @@ -12,6 +12,10 @@ # defaultKeymap = "emacs"; + initExtraFirst = '' + [[ $TERM == "tramp" ]] && unsetopt zle && PS1='$ ' && return + ''; + initExtra = '' ${pkgs.kitty}/bin/kitty + complete setup zsh | source /dev/stdin ${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin