Skip to content

Commit

Permalink
Replace variables in custom link commands
Browse files Browse the repository at this point in the history
Fixes #1820.
  • Loading branch information
arnested authored and ximion committed Nov 6, 2023
1 parent 8ff83f2 commit 463d108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/gx/tilix/terminal/terminal.d
Original file line number Diff line number Diff line change
Expand Up @@ -2049,6 +2049,7 @@ private:
groups ~= info.fetchAll();
foreach(group; groups) tracef("Group %s", group);
string command = replaceMatchTokens(tr.command, groups);
command = replaceVariables(command);
trace("Command: " ~ command);
string[string] env;
spawnShell(command, env, Config.none, currentLocalDirectory);
Expand Down

0 comments on commit 463d108

Please sign in to comment.