installation - Fixing Homebrew Warning: Directory should not end in a slash -
i installed homebrew today, , application suggested, ran
brew doctor
i got warning:
warning: directories in path end in slash. directories in path should not end in slash. can break other doctor checks. following directories should edited: /users/myusername/
after googling this, opened
vi ~/.bash_profile
from terminal , manually removed "/" after username. .bash_profile looks this:
export path=$path:/users/myusername export path=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/users/myusername
then retyped prompt , got same warning. how fix this?
did try restarting terminal? or @ least opening new session (tab)?
Comments
Post a Comment