aboutsummaryrefslogtreecommitdiff
path: root/bin/Getdir
diff options
context:
space:
mode:
Diffstat (limited to 'bin/Getdir')
-rwxr-xr-xbin/Getdir3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/Getdir b/bin/Getdir
index 5b839179..178d8dc9 100755
--- a/bin/Getdir
+++ b/bin/Getdir
@@ -2,6 +2,7 @@
# Click on an acme directory window and then execute Getdir
+. 9.rc
dir=acme/acme/$winid
fn rd {
@@ -20,7 +21,7 @@ if(! ~ $tag(1) */){
echo -n , | wr addr
ls -pF $tag(1) | sed 's/\*$//' |
- 9grep -v '^''?\.|\.o$|^''?o\.' |
+ grep -v '^''?\.|\.o$|^''?o\.' |
mc | wr data
echo -n '#0' | wr addr
echo -n 'dot=addr' | wr ctl