From eb151da20703f62cc17d1fc5f888865c5c04f5e6 Mon Sep 17 00:00:00 2001 From: linsilence Date: Mon, 10 Jun 2019 18:51:40 +0800 Subject: [PATCH] fix --- templates/zshrc.zsh-template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index 99f8414eb..acaa5d7bf 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -83,11 +83,12 @@ source $ZSH/oh-my-zsh.sh # export LANG=en_US.UTF-8 # Preferred editor for local and remote sessions -if [[ -n $SSH_CONNECTION ]]; then - export EDITOR='vim' -else - export EDITOR='mvim' -fi +#if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +#else +# export EDITOR='mvim' +#fi +export EDITOR='vim' # Compilation flags # export ARCHFLAGS="-arch x86_64"