.
This commit is contained in:
24
plumb/basic
24
plumb/basic
@@ -59,10 +59,30 @@ plumb to edit
|
||||
plumb start /usr/local/plan9/bin/B $file:$3
|
||||
# plumb client window $editor
|
||||
|
||||
# .h files are looked up in /sys/include and passed to edit
|
||||
# .h files are looked up in /usr/include and passed to edit
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9]+\.h)('$addr')?'
|
||||
arg isfile /sys/include/$1
|
||||
arg isfile /usr/include/$1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
plumb start /usr/local/plan9/bin/B $file:$3
|
||||
# plumb client window $editor
|
||||
|
||||
# .h files are looked up in /usr/local/include and passed to edit
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9]+\.h)('$addr')?'
|
||||
arg isfile /usr/local/include/$1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
plumb start /usr/local/plan9/bin/B $file:$3
|
||||
# plumb client window $editor
|
||||
|
||||
# .h files are looked up in /usr/local/plan9/include and passed to edit
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9]+\.h)('$addr')?'
|
||||
arg isfile /usr/local/plan9/include/$1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
|
||||
Reference in New Issue
Block a user