如何让 xfce4-terminal 启动鱼壳?

Abi*_*ash 2 shell fish xfce4-terminal

我想使用 FISH 外壳。但我读过 FISH 不是 POSIX shell,因此chsh不建议将其设置为默认 shell 。我想要的是每当我启动 xfce4-terminal 我想启动 FISH shell 而不是 bash。添加exec fish.bashrc似乎是一个解决方案,但我想知道是否有一种方法可以启动鱼而无需在 bash 之上启动它。

ImH*_*ere 7

是的,当然。跑:

xfce4-terminal --preferences
Run Code Online (Sandbox Code Playgroud)

并制作:Run a custom command instead of my shellfish在下面的框中键入。就是这样,关闭并启动xfc4-terminal。就是这样。享受。