mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 18:50:39 +02:00
Alias
- Implemented simple word substitution aliases. This is not the ultimate form which will involve the ability to insert arbitrary constructs. Later.
This commit is contained in:
parent
a470e50ee6
commit
1cd09bc87b
7 changed files with 42 additions and 41 deletions
|
@ -52,7 +52,7 @@ int CmdCompletionAliases::execute (std::string& output)
|
|||
std::vector <std::string> aliases;
|
||||
|
||||
std::map <std::string, std::string>::iterator it;
|
||||
for (it = context.aliases.begin (); it != context.aliases.end (); ++it)
|
||||
for (it = context.alias._aliases.begin (); it != context.alias._aliases.end (); ++it)
|
||||
aliases.push_back (it->first);
|
||||
|
||||
// Sort alphabetically.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue