Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. (eval):13: parse error near `}'
  2.  
  3. $ rbenv init -
  4. export PATH="/Users/name/.rbenv/shims:${PATH}"
  5. export RBENV_SHELL=zsh
  6. source '/usr/local/Cellar/rbenv/1.1.2/libexec/../completions/rbenv.zsh'
  7. command rbenv rehash 2>/dev/null
  8. rbenv() {
  9. local command
  10. command="${1:-}"
  11. if [ "$#" -gt 0 ]; then
  12. shift
  13. fi
  14.  
  15. case "$command" in
  16. [{ichiro|3}|{jiro|1}|{saburo|2}]|[{jiro|1}|{saburo|2}|{ichiro|3}]) # エラーの出ている13行めです。
  17. eval "$(rbenv "sh-$command" "$@")";;
  18. *)
  19. command rbenv "$command" "$@";;
  20. esac
  21. }
  22.  
  23. $ ls ~/.rbenv/shims
  24. 1} 2} 2}] 3} 3}] [{ichiro [{jiro {ichiro {jiro {saburo
  25.  
  26. $ ls ~/.rbenv/
  27. shims versions # bin directory doesn't exist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement