Add support aliases
This commit is contained in:
parent
bb0480c102
commit
321344a4c9
6 changed files with 23 additions and 12 deletions
|
@ -75,7 +75,11 @@ Clippy::TargetPtr Clippy::GetScriptTarget(
|
|||
}
|
||||
|
||||
auto cfg = p->GetConfig();
|
||||
return cfg.GetTarget(args[1]);
|
||||
auto result = cfg.GetTarget(args[1]);
|
||||
if (enable_aliases_) {
|
||||
result->PushFront("shopt -s expand_aliases");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void Clippy::LoadProjects() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue