diff --git a/bin/dots b/bin/dots new file mode 120000 index 0000000..22781e8 --- /dev/null +++ b/bin/dots @@ -0,0 +1 @@ +./... \ No newline at end of file diff --git a/lib/scripting b/lib/scripting index 9038031..31b8a5f 100644 --- a/lib/scripting +++ b/lib/scripting @@ -110,7 +110,9 @@ alias sourceif=...sourceif # Backwards compatibility. # XXX This FIFO filename technique does not work on OSX #source <(find $d/* -prune \! -type d \! -name '.*.sw?' -exec cat {} +) # Use this hack for now: - find $d/* -prune \! -type d \! -name '.*.sw?' -exec cat {} + > /tmp/$$ + (find $d/* -prune \! -type d \! -name '.*.sw?' -exec cat {} + > /tmp/$$) 2>/dev/null + [ $? -eq 0 ] || return + #find $d -type f -prune \! -type d \! -name '.*.sw?' -exec cat {} + > /tmp/$$ source /tmp/$$ rm /tmp/$$