From 6c8e1aed5bff9bd5bef96de88f68742aad380f55 Mon Sep 17 00:00:00 2001 From: cswimr Date: Thu, 24 Oct 2024 15:34:05 -0400 Subject: [PATCH] don't change editor based on ssh_connection status --- .zshrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.zshrc b/.zshrc index 3c61826..075e9da 100644 --- a/.zshrc +++ b/.zshrc @@ -97,12 +97,8 @@ 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='/usr/bin/nvim' -else - export EDITOR='/usr/bin/nvim' - export BROWSER='zen-browser' -fi +export EDITOR='/usr/bin/nvim' +export BROWSER='zen-browser' # n³ settings export NNN_ARCHIVE="\\.(7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)$"