I'm trying to save some time in Fish Shell by setting an abbreviation (nu
) to expand to the string:
my-username@my-ip-address:/home/my-username
What I'm hoping to achieve is to enter:
scp some-file nu
...then tab- or space- complete the nu
abbreviation to expand it to the string I set in my config.fish
.
I have more use cases for this functionality, but Fish doesn't seem to cover it. It offers abbreviations, but they only seem to work at the beginning of a command; I can't get them to work inline. Any ideas?
$nu
. – AFH Mar 17 '19 at 14:43