Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
#!/bin/sh # # Open a new terminal in the cwd # CWD=`pwd` osascript<<END set thePath to "$CWD" set myPath to (POSIX file thePath as alias) try tell application "Terminal" activate do script with command "cd \"" & thePath & "\"" end tell end try END
This paste will be private.
From the Design Piracy series on my blog: