14
7

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 3 years have passed since last update.

今更だがanyenvをfishで使う

Last updated at Posted at 2019-01-14

tl;dr

2019/01/15現在の話です

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

何も言うことは無い

無いと言ったが強いて言うならeval (anyenv init - fish | source)だとかeval (anyenv init - fish)だとか書いているブログに当たったりしていたが、動かなかったり余計だったりする。
古い情報だとeval (anyenv init - | source)と書いてたりもするけど昔はそういう感じだったのだろうか……?

追記 2019/11/09

もっと早く追記すべきでしたがissue立てて解決したので、こんな記事見てないで公式のREADMEを読もう!!!!
https://github.com/anyenv/anyenv

$ set -Ux fish_user_paths $HOME/.anyenv/bin $fish_user_paths
14
7
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
14
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?