rewrote this as a bash function in my vcsh repo. just hang onto it for
examples or something...
not sure how long i've had these changes hanging around