I would like to add an alias with a whitespace in fish, like so:
alias hello there 'print hello there'
Is this in any way possible? (I know this example is invalid, I'm just giving an example).
Thanks in advance.
This is currently not possible with fish's alias wrapper function.
However, what that ends up doing anyway is defining a function, so you could just do that.
function "hello there"
echo hello there
end
Execute with "hello there" or hello\ there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With