You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
269 B
9 lines
269 B
2 years ago
|
# Ensure vim is set as EDITOR if it isn't already set
|
||
|
# This is set as a universal variable so that any other definition
|
||
|
# by the user would win
|
||
|
# Cf. https://fishshell.com/docs/current/index.html#variables-scope
|
||
|
|
||
|
if ! set -q EDITOR;
|
||
|
set -x EDITOR /usr/bin/vim
|
||
|
end
|