fish@macOS
macのshellについて話していたところ「fishが便利」という人がいたので早速お試し。
以下、手順メモ。
>brew install fish
と実行しても何故か途中でエラーがでて失敗。
というわけでHomebrewのインストールから。(x-Codeはインストール済み)
>/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
としてインストール(というか上書き)。その後に
>brew install fish
を実行して無事成功。
>fish -v
fish, version 3.0.2
とでてとりあえず成功。あとは
>sudo vim /etc/shells
で/etc/shellsの最終行に"/usr/local/bin/fish"を追加。