このような書き方が悪いのか反映されません。原因をわかるかた教えて下さい。
$ source ~/.bash_profile -bash: /Users/kT/.bash_profile: line 2: syntax error near unexpected token `then' -bash: /Users/kT/.bash_profile: line 2: `f which rbenv > /dev/null; then eval "$(rbenv init -)"; fi'
#〜/.bash_profile export PATH=/usr/local/bin:$PATH f which rbenv > /dev/null; then eval "$(rbenv init -)"; fi if [ -f ~/.bashrc ] ; then . ~/.bashrc fi #コピペした部分 export PYENV_ROOT=${HOME}/.pyenv if [ -d "${PYENV_ROOT}" ]; then export PATH=${PYENV_ROOT}/bin:$PATH eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" fi
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。