mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
Documentation Update
- Corrected precedence list on editors.
This commit is contained in:
parent
6762af8ffd
commit
e8da71498d
1 changed files with 1 additions and 1 deletions
|
@ -910,7 +910,7 @@ std::string handleEdit (TDB& tdb, T& task, Config& conf)
|
||||||
// Write to file.
|
// Write to file.
|
||||||
spit (file, before.str ());
|
spit (file, before.str ());
|
||||||
|
|
||||||
// Determine correct editor: $TASK_EDITOR > $VISUAL > $EDITOR > vi
|
// Determine correct editor: .taskrc:editor > $VISUAL > $EDITOR > vi
|
||||||
const char* editor = getenv ("TASK_EDITOR");
|
const char* editor = getenv ("TASK_EDITOR");
|
||||||
if (!editor) editor = getenv ("VISUAL");
|
if (!editor) editor = getenv ("VISUAL");
|
||||||
if (!editor) editor = getenv ("EDITOR");
|
if (!editor) editor = getenv ("EDITOR");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue