Feature - default alias
- Added a default alias of "rm" as a synonym of "delete" (thanks to Ivo Jimenez).
This commit is contained in:
2
AUTHORS
2
AUTHORS
@@ -39,3 +39,5 @@ Thanks to the following, who submitted detailed bug reports and excellent sugges
|
|||||||
Thomas@BIC
|
Thomas@BIC
|
||||||
Ian Mortimer
|
Ian Mortimer
|
||||||
Zach Frazier
|
Zach Frazier
|
||||||
|
Ivo Jimenez
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
1.9.0 ()
|
1.9.0 ()
|
||||||
+ Added feature #292 that permits alternate line coloration in reports
|
+ Added feature #292 that permits alternate line coloration in reports
|
||||||
(thanks to Richard Querin).
|
(thanks to Richard Querin).
|
||||||
|
+ The 'delete' command is now aliased to 'rm' (thanks to Ivo Jimenez).
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ 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.priority=M # Unless otherwise specified\n"
|
||||||
<< "default.command=list # Unless otherwise specified\n"
|
<< "default.command=list # Unless otherwise specified\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
|
<< "alias.rm=delete\n"
|
||||||
|
<< "\n"
|
||||||
<< "# Fields: id,uuid,project,priority,entry,start,due,recur,recur_ind,age,\n"
|
<< "# Fields: id,uuid,project,priority,entry,start,due,recur,recur_ind,age,\n"
|
||||||
<< "# age_compact,active,tags,description,description_only\n"
|
<< "# age_compact,active,tags,description,description_only\n"
|
||||||
<< "# Description: This report is ...\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.labels", "ID,Project,Pri,Due,Active,Age,Description"); // TODO i18n
|
||||||
set ("report.next.sort", "due+,priority-,project+"); // TODO i18n
|
set ("report.next.sort", "due+,priority-,project+"); // TODO i18n
|
||||||
set ("report.next.filter", "status:pending"); // TODO i18n
|
set ("report.next.filter", "status:pending"); // TODO i18n
|
||||||
|
|
||||||
|
set ("alias.rm", "delete"); // TODO i18n
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user