I do not know why, but after making a whole bunch of fish aliases. I'm assuming I have neglected one simple step after assigning them all but I cannot seem find the solution myself.
Can anyone lend me a hand?
Thank you very much!
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
A fish alias is actually implemented as a function. To save a function, you need
funcsave. So this is the sequence
alias foo=bar funcsave foo
That creates ~/.config/fish/functions/foo.fish which will then be available in any fish session.
alias command also works without the
alias foo "bar baz qux"
It basically boiled down to:
~/.config/fish/config.fishin your favorite editor. If it's not already there, it'll make it for you. (Don't