Skip to content
Myr

Merge pull request #1469 from jwodder/feature/sensible-editor

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Support Debian's sensible-editor

authored by David Lord · committed by GitHub · parents 2f39830, 22bfb0c · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:click/_termui_impl.py+1 added-1 removed
438 unmodified lines
439 if rv:440 return rv441 if WIN:442 return 'notepad'443 for editor in 'vim', 'nano':443 for editor in 'sensible-editor', 'vim', 'nano':444 if os.system('which %s >/dev/null 2>&1' % editor) == 0:445 return editor446 return 'vi'447
210 unmodified lines
modified:CHANGES.rst+2 added
57 unmodified lines
58- ``MissingParameter`` exceptions are printable in the Python59 interpreter. :issue:`1139`60- Fix how default values for file-type options are shown during61 prompts. :issue:`914`62- Consider ``sensible-editor`` when determining the editor to use for63 ``click.edit()``. :pr:`1469`646566Version 7.067-----------
541 unmodified lines