IntelliJ's embedded terminal does not load fish functions

后端 未结 5 988
别那么骄傲
别那么骄傲 2021-02-04 04:15

I\'m using IntelliJ\'s embedded terminal with the fish shell, which works well with one exception: it does not seem to load the fish functions defined in ~/.config/fish/fu

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-04 04:41

    For me since since i use bass which also put some .py file in that directory, I have to tweak this a tad.

    if test -d ~/.config/fish/functions
      for f in ~/.config/fish/functions/*.fish
        source $f
      end
    end
    

    Also I found the Ultimate Edition's path is a bit different: /Applications/IntelliJ\ IDEA.app/Contents/plugins/terminal/fish/config.fish

提交回复
热议问题