Revert "don't change editor based on ssh_connection status"
This reverts commit 6c8e1aed5b
.
This commit is contained in:
parent
6c8e1aed5b
commit
2722b207ea
1 changed files with 6 additions and 2 deletions
8
.zshrc
8
.zshrc
|
@ -97,8 +97,12 @@ source $ZSH/oh-my-zsh.sh
|
|||
export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
export EDITOR='/usr/bin/nvim'
|
||||
export BROWSER='zen-browser'
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='/usr/bin/nvim'
|
||||
else
|
||||
export EDITOR='/usr/bin/nvim'
|
||||
export BROWSER='zen-browser'
|
||||
fi
|
||||
|
||||
# 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)$"
|
||||
|
|
Loading…
Reference in a new issue