ga-wdi-boston / orientation

Instructions for students beginning General Assembly's WDI program in Boston
Other
11 stars 198 forks source link

Clarify instructions and add expected output for ed commands #202

Closed jrhorn424 closed 7 years ago

jrhorn424 commented 7 years ago

Mention that each should be typed separately, and add expected output.

echo '/\/usr\/local\/bin/\nd\nwq' | sudo ed /etc/paths
echo '1i\n/usr/local/bin\n.\nwq' | sudo ed /etc/paths

Should expect:

$ echo '/\/usr\/local\/bin/\nd\nwq' | sudo ed /etc/paths

45
/usr/local/bin
30

$ echo '1i\n/usr/local/bin\n.\nwq' | sudo ed /etc/paths

30
45
gaand commented 7 years ago

I believe this step is no longer necessary. I thought I'd opened an issue for it.

raq929 commented 7 years ago

@gaand Is this #182? If so, can you add clarification? If not, can you say more here?

raq929 commented 7 years ago

Yes, #182 is the issue. @jrhorn424 says there might also be an issue with Finder that requires these paths. @gaand wants to know what else uses etc/paths/

@jrhorn424 will do some research in this regard.

raq929 commented 7 years ago

http://apple.stackexchange.com/questions/215697/what-is-the-default-content-in-private-etc-paths

jrhorn424 commented 7 years ago

Closing in favor of #182, which obsolesces this issue.