在我的鱼中破裂
#python #fish
❯ Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>                                    (base)
BrokenPipeError: [Errno 32] Broken pipe

如果使用Conda时在fish终端中以上有错误,只需将status is-interactive &&添加到 config.fish.fish.fish 中,此问题。

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
if test -f /Users/keonabut/miniconda3/bin/conda
  status is-interactive && eval /Users/keonabut/miniconda3/bin/conda "shell.fish" "hook" $argv | source
end
# <<< conda initialize <<<