Browse Source

Set terminal type for tramp

nixos
Maxime Wack 4 years ago
parent
commit
22b544889c
2 changed files with 6 additions and 0 deletions
  1. +2
    -0
      .emacs.d/options.el
  2. +4
    -0
      .zshrc

+ 2
- 0
.emacs.d/options.el View File

@@ -1,4 +1,6 @@
(setq
;; Set tramp terminal type
tramp-terminal-type "tramp"
;; Mode-line
;; Mnemonics for eol
eol-mnemonic-unix "(Unix)"


+ 4
- 0
.zshrc View File

@@ -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/



Loading…
Cancel
Save