LoginSignup
2
3

More than 3 years have passed since last update.

EC2(Amazon Linux2)へfishシェルをインストール

Last updated at Posted at 2020-02-23

EPELレポジトリの追加

Extra Packages for Enterprise Linux (EPEL) リポジトリを追加します。

$ sudo amazon-linux-extras install -y epel

Fishのインストール

Fishをインストールします。

$ sudo yum -y install fish

Fishシェルに入ります。

$ fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
>

Fisherのインストール

Fishシェルに入った状態で、FishのパッケージマネージャFisherをインストールします。

> curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish

👀確認

> fisher -v

🚀試しにテーマをインストール

> fisher add oh-my-fish/theme-agnoster

その他

fishテーマtheme-agnoster等をインストールした場合、クライアント側にpowerlineフォントがないと、一部文字化けします。
ここ等からダウンロードし、クライアントへフォントの追加が必要です。

📖WSL環境 (Windows10) でPowerlineフォントをインストールする

以上。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3