I have a value stored in a variable that I want to use as part of a wildcard, like this:set extension (somecommand)cp *$extension ~/filezoneBut the * prevents the variable from being dereferenced. How can I use the value stored in a variable as part of a wildcard?
How can I mix variables and wildcards in fish?
wildcards;variable substitution;fish