Skip to content
Myr

Support Debian's sensible-editor

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

authored by John T. Wodder II · committed by David Lord · parent 93d947c · 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
425 unmodified lines
426 if rv:427 return rv428 if WIN:429 return 'notepad'430 for editor in 'vim', 'nano':430 for editor in 'sensible-editor', 'vim', 'nano':431 if os.system('which %s >/dev/null 2>&1' % editor) == 0:432 return editor433 return 'vi'434
204 unmodified lines
modified:CHANGES.rst+2 added
42 unmodified lines
43- ``MissingParameter`` exceptions are printable in the Python44 interpreter. :issue:`1139`45- Fix how default values for file-type options are shown during46 prompts. :issue:`914`47- Consider ``sensible-editor`` when determining the editor to use for48 ``click.edit()``. :pr:`1469`495051Version 7.052-----------
540 unmodified lines