Update color scheme; Change default tmp path; Fix runtime if target not exists
This commit is contained in:
parent
9f22ea05a6
commit
7e4141b282
3 changed files with 14 additions and 6 deletions
|
@ -76,9 +76,11 @@ Clippy::TargetPtr Clippy::GetScriptTarget(
|
|||
|
||||
auto cfg = p->GetConfig();
|
||||
auto result = cfg.GetTarget(args[1]);
|
||||
if (enable_aliases_) {
|
||||
|
||||
if (result && enable_aliases_) {
|
||||
result->PushFront("shopt -s expand_aliases");
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue