cxreg/smartcd — pull request #6 by mvgrimes (2012-06-15 21:19:22+00:00)
Title: Minor changes to work on OS/X and avoid rm alias

I just upgrade from a version dating back to last Aug/Nov. I ran into two glitches:

1) on OS/X the cp command will not accept -r and -P at the same time. Switching to -RP in smartcd_update_database should work on all platforms.

2) in smartcd_edit there is a call directly to rm to clean up the temp file. If there are any aliases for rm, they get in the way.

BTW, smartcd has been super helpful. Thanks!

Best,
Mark