oh-my-fishのインストール中のエラー

oh-my-fishをインストールしようとして

Existing installation detected at /Users/username/.local/share/omf
Would you like to remove the existing installation? (y/N): <W> fish: No TTY for interactive shell (tcgetpgrp failed)
setpgid: Inappropriate ioctl for device

上記のようなエラーが出た場合

rm -rf ~/.local/share/omf
rm ~/.config/fish/conf.d/omf.fish

古いファイルを削除して対応する。

ref.

github.com