fish
1export PYENV_ROOT="$HOME/.pyenv" 2export PATH="$PYENV_ROOT/bin:$PATH" 3eval "(pyenv init -)"
vimで以上のコードをホームディレクトリに.bash_profileとして保存したのですが
fishでsource ~/.bash_profileと行うと以下のようなエラーが生じます。
--追記
bashをデフォルトのbashに戻すと.bash_profileを正常に読み込みました
fishを使いたい場合にはどのようにfishの設定を変更すればよろしいのでしょうか。
fish
1 ~ source ~/.bash_profile 18:53:57 2-: Command substitutions not allowed 3from sourcing file - 4 called on line 61 of file /usr/share/fish/functions/eval.fish 5 6in function 'eval' 7 called on line 3 of file ~/.bash_profile 8 9from sourcing file ~/.bash_profile 10 called on standard input 11 12source: Error while reading file '<stdin>'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。