Skip to content

Commit

Permalink
Override $NB_EDITOR with edit --editor.
Browse files Browse the repository at this point in the history
refs gh-303
  • Loading branch information
xwmx committed Feb 6, 2024
1 parent dff1c72 commit 1684609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nb
Original file line number Diff line number Diff line change
Expand Up @@ -14773,7 +14773,7 @@ _edit() {
then
if [[ -n "${_local_editor}" ]]
then
EDITOR="${_local_editor}" _edit_file "${_target_file}"
NB_EDITOR="${_local_editor}" _edit_file "${_target_file}"
else
_edit_file "${_target_file}"
fi
Expand Down

0 comments on commit 1684609

Please sign in to comment.