How to define an alias in fish shell?

前端 未结 10 632
星月不相逢
星月不相逢 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:38

    1. if there is not config.fish in ~/.config/fish/, make it.
    2. there you can write your function .function name; command; end

提交回复
热议问题