How to define an alias in fish shell?

前端 未结 10 605
星月不相逢
星月不相逢 2020-12-07 06:56

I would like to define some aliases in fish. Apparently it should be possible to define them in

~/.config/fish/functions

but they don\'t g

10条回答
  •  独厮守ぢ
    2020-12-07 07:55

    Save your files as ~/.config/fish/functions/{some_function_name}.fish and they should get autoloaded when you start fish.

提交回复
热议问题