From 22b544889c855b4e2545fb3b4e0432aee78e1782 Mon Sep 17 00:00:00 2001 From: Maxime Wack Date: Tue, 30 Jul 2019 02:18:26 +0200 Subject: [PATCH] Set terminal type for tramp --- .emacs.d/options.el | 2 ++ .zshrc | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.emacs.d/options.el b/.emacs.d/options.el index 9cd331d..364075f 100644 --- a/.emacs.d/options.el +++ b/.emacs.d/options.el @@ -1,4 +1,6 @@ (setq + ;; Set tramp terminal type + tramp-terminal-type "tramp" ;; Mode-line ;; Mnemonics for eol eol-mnemonic-unix "(Unix)" diff --git a/.zshrc b/.zshrc index c57b411..cc17162 100644 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,8 @@ . ~/.profile + +# Set prompt for tramp +[[ $TERM == "tramp" ]] && unsetopt zle && PS1='$ ' && return + # Path to your oh-my-zsh installation. ZSH=/usr/share/oh-my-zsh/