cswimr/home
Archived
Template
1
0
Fork 0

don't change editor based on ssh_connection status

This commit is contained in:
Seaswimmer 2024-10-24 15:34:05 -04:00
parent 8da7432451
commit 6c8e1aed5b
Signed by: cswimr
GPG key ID: A9C162E867C851FA

8
.zshrc
View file

@ -97,12 +97,8 @@ source $ZSH/oh-my-zsh.sh
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions # Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then export EDITOR='/usr/bin/nvim'
export EDITOR='/usr/bin/nvim' export BROWSER='zen-browser'
else
export EDITOR='/usr/bin/nvim'
export BROWSER='zen-browser'
fi
# n³ settings # 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)$" 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)$"