
我想使用 FISH shell。但我讀過 FISH 不是 POSIX shell,因此chsh
不建議將其設定為預設 shell。我想要的是每當我啟動 xfce4-terminal 時我想啟動 FISH shell 而不是 bash。添加exec fish
到.bashrc
似乎是一個解決方案,但我想知道是否有一種方法可以啟動fish而不用在bash之上啟動它。
答案1
是的,當然。跑步:
xfce4-terminal --preferences
然後 make:並在下面的框中Run a custom command instead of my shell
鍵入。fish
就這樣,關閉並開始xfc4-terminal
。就是這樣。享受。