mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Feature - default alias
- Added a default alias of "rm" as a synonym of "delete" (thanks to Ivo Jimenez).
This commit is contained in:
parent
bf077c0f97
commit
e222090d1f
3 changed files with 7 additions and 0 deletions
2
AUTHORS
2
AUTHORS
|
@ -39,3 +39,5 @@ Thanks to the following, who submitted detailed bug reports and excellent sugges
|
|||
Thomas@BIC
|
||||
Ian Mortimer
|
||||
Zach Frazier
|
||||
Ivo Jimenez
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
1.9.0 ()
|
||||
+ Added feature #292 that permits alternate line coloration in reports
|
||||
(thanks to Richard Querin).
|
||||
+ The 'delete' command is now aliased to 'rm' (thanks to Ivo Jimenez).
|
||||
|
||||
------ old releases ------------------------------
|
||||
|
||||
|
|
|
@ -150,6 +150,8 @@ void Config::createDefaultRC (const std::string& rc, const std::string& data)
|
|||
<< "#default.priority=M # Unless otherwise specified\n"
|
||||
<< "default.command=list # Unless otherwise specified\n"
|
||||
<< "\n"
|
||||
<< "alias.rm=delete\n"
|
||||
<< "\n"
|
||||
<< "# Fields: id,uuid,project,priority,entry,start,due,recur,recur_ind,age,\n"
|
||||
<< "# age_compact,active,tags,description,description_only\n"
|
||||
<< "# Description: This report is ...\n"
|
||||
|
@ -323,6 +325,8 @@ void Config::setDefaults ()
|
|||
set ("report.next.labels", "ID,Project,Pri,Due,Active,Age,Description"); // TODO i18n
|
||||
set ("report.next.sort", "due+,priority-,project+"); // TODO i18n
|
||||
set ("report.next.filter", "status:pending"); // TODO i18n
|
||||
|
||||
set ("alias.rm", "delete"); // TODO i18n
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue