2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

bashからfishに変更したらanyenvでエラー

Last updated at Posted at 2019-01-18

bashからfishに変更した際にanyenvが既にインストール済みでそのまま利用できると思っていたがダメだった。

> fish -v
fish, version 3.0.0

原因

bash時代にrbenv等**env系が既に入っていた。

対処

anyenvで管理している**envを全てアンインストールする。

最後にanyenvのfish設定

~/.config/fish/config.fish

set PATH $HOME/bin $HOME/.anyenv/bin $PATH
anyenv init - | source

参考

今更だがanyenvをfishで使う

2
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?