瀏覽代碼

Set terminal type for tramp

nixos
Maxime Wack 4 年之前
父節點
當前提交
22b544889c
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. +2
    -0
      .emacs.d/options.el
  2. +4
    -0
      .zshrc

+ 2
- 0
.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)"


+ 4
- 0
.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/



Loading…
取消
儲存