mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 01:27:20 +02:00
Context
- Properly extract alias 'from' from the configuration variable name.
This commit is contained in:
parent
a91d6227f8
commit
531e490e44
1 changed files with 2 additions and 1 deletions
|
@ -753,7 +753,8 @@ void Context::loadAliases ()
|
||||||
{
|
{
|
||||||
std::map <std::string, std::string>::iterator i;
|
std::map <std::string, std::string>::iterator i;
|
||||||
for (i = config.begin (); i != config.end (); ++i)
|
for (i = config.begin (); i != config.end (); ++i)
|
||||||
parser.alias (i->first, i->second);
|
if (i->first.substr (0, 6) == "alias.")
|
||||||
|
parser.alias (i->first.substr (6), i->second);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue