plan9port/mac/Plumb.app/Contents/MacOS/plumb
marius a. eriksen d52bdd3356 devdraw: plumb drag-n-dropped files
Change-Id: I7585870aee57c7482ebdd19c117be7982123ce79
Reviewed-on: https://plan9port-review.googlesource.com/1130
Reviewed-by: Russ Cox <rsc@google.com>
2015-06-03 15:26:27 +00:00

14 lines
174 B
Bash
Executable file

#!/bin/bash
if [ -e ~/.bashrc ] ; then
. ~/.bashrc
fi
PLAN9=${PLAN9:-/usr/local/plan9}
bin=$PLAN9/bin
IFS=$'\n'
for file in $($bin/macargv)
do
$bin/macedit "$file"
done