Update color scheme; Change default tmp path; Fix runtime if target not exists

This commit is contained in:
Timofey Khoruzhii 2022-10-29 20:33:30 +03:00
parent 9f22ea05a6
commit 7e4141b282
3 changed files with 14 additions and 6 deletions

View file

@ -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;
}