From 89e864830b5a3c5a5f3a01ee4d4495b1182a0ab1 Mon Sep 17 00:00:00 2001 From: alvinlollo <143326475+alvinlollo@users.noreply.github.com> Date: Sat, 15 Nov 2025 20:11:39 +1100 Subject: [PATCH] Update .zshrc --- configs/.zshrc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/configs/.zshrc b/configs/.zshrc index c71887c..e913e7e 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -72,18 +72,17 @@ source $ZSH/oh-my-zsh.sh # User configuration - export EDITOR=nvim # export MANPATH="/usr/local/man:$MANPATH" # You may need to set your language environment manually # 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='nvim' +else + export EDITOR='vim' +fi # Compilation flags # export ARCHFLAGS="-arch x86_64"