News for hackers. Stuff that matters.
Re:FreeBSD on a MacBook Pro by noobermin on Wednesday November 23, 2016 @11:46PM (#13028187)
Random question for you, how does the shell experience on FreeBSD compare to MacOS? Linux?
Re:FreeBSD on a MacBook Pro by tachion on Thursday November 24, 2016 @05:50AM (#13029626)
Why would you care at all about something like that? No matter if I am on Linux, BSD or OSX, I am installing the shell I like&want to use and don't spend more time in default bash/tcsh/whatever else of the OS than it takes to perform install and run `chsh`. It's like literally one of the last things that'd weight on my OS choice.
Re:FreeBSD on a MacBook Pro by mveety on Thursday November 24, 2016 @12:01AM (#13028247)
A shell is a shell for the most part. The details can be a bit different (like your $PATH), but otherwise its largely the same.
Re:FreeBSD on a MacBook Pro by JeremyMorgan on Thursday November 24, 2016 @12:56AM (#13028495)
Yep. Mostly the same. Hence the reason I question why FreeBSD might be worth it. The overlap of OSX and FreeBSD at the shell is quite great, but you can't run a lot of OSX apps on FreeBSD. I'd venture to guess you could run a lot more FreeBSD apps on OSX.
Re:FreeBSD on a MacBook Pro by noobermin on Thursday November 24, 2016 @12:21AM (#13028343)
try

   rm -rf somedir/
vs

   rm somedir/ -rf
Linux (the former) allows me to be lazy while MacOS (the latter) forces me to hit crtl-a and insert -rf.
Re:FreeBSD on a MacBook Pro by loeg on Thursday November 24, 2016 @12:25AM (#13028372)
GNU rm (coreutils) vs BSD rm.
Re:FreeBSD on a MacBook Pro by aorth on Thursday November 24, 2016 @01:26AM (#13028605)
I will never get used to the trailing slash on source arguments in BSD cp (that copies directory contents rather than the directory itself)! The first thing I do on an OS X machine is install GNU coreutils.
Re:FreeBSD on a MacBook Pro by loeg on Thursday November 24, 2016 @02:08AM (#13028757)
Me either. I've also got a habit of adding '-rf' as the last argument to 'rm' so I can safely tab complete things in my home directory without a mistaken "enter" press nuking everything.
Re:FreeBSD on a MacBook Pro by seschwar on Thursday November 24, 2016 @05:33PM (#13033209)
I'm used to that from rsync. I find it quite handy.
Re:FreeBSD on a MacBook Pro by loeg on Thursday November 24, 2016 @09:41PM (#13034077)
This may be why I never found rsync comfortable.
Re:FreeBSD on a MacBook Pro by noobermin on Thursday November 24, 2016 @03:16AM (#13028995)
Major correction, the former is MacOS and the latter is Linux allowed (options can be before positional arguments).
Re:FreeBSD on a MacBook Pro by lmm on Thursday November 24, 2016 @08:48AM (#13030293)
I usually install a GNU shell and use that - I don't use FreeBSD out of idealism but because it works better. Things like ctrl-T make it a little nicer than Linux, but on the whole it's pretty similar.
Re:FreeBSD on a MacBook Pro by PaulRobinson on Friday November 25, 2016 @04:45PM (#13040087)
OS X userland was forked from FreeBSD 15 years back.

It's not that far removed even now, although config is standard /etc