8 lines
196 B
Bash
8 lines
196 B
Bash
# Preferred editor for local and remote sessions
|
|
if [[ -n $SSH_CONNECTION ]]; then
|
|
export VISUAL='/opt/homebrew/bin/micro'
|
|
export EDITOR='/opt/homebrew/bin/micro'
|
|
else
|
|
export EDITOR='micro'
|
|
fi
|