From dedc5bedfd26bd1e8dcf490e4be8b6a403629c45 Mon Sep 17 00:00:00 2001 From: Nino Date: Mon, 2 Apr 2018 21:03:30 +0200 Subject: [PATCH] Changed to nano as default editor --- custom/zshrc.ndv.custom | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/custom/zshrc.ndv.custom b/custom/zshrc.ndv.custom index 45fe7c879..8c06bdd8a 100644 --- a/custom/zshrc.ndv.custom +++ b/custom/zshrc.ndv.custom @@ -1,8 +1,8 @@ # If you come from bash you might have to change your $PATH. -# export PATH=$HOME/bin:/usr/local/bin:$PATH +export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. - export ZSH=/home/raven/.oh-my-zsh +export ZSH=/home/raven/.oh-my-zsh #Set user custom values DEFAULT_USER="raven" @@ -76,11 +76,11 @@ 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='nano' +else + export EDITOR='nano' +fi # Compilation flags # export ARCHFLAGS="-arch x86_64"