aboutsummaryrefslogtreecommitdiff
path: root/bin/9.rc
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 05:28:38 +0000
committerrsc <devnull@localhost>2005-01-14 05:28:38 +0000
commit67075c3634c316ce9cc0e6fa88e65ca27503abc4 (patch)
tree708e1582e3b4b45ba40f9329b2dfef01439752e9 /bin/9.rc
parent359c1e017ee367c34b082b1b4e6c002686d01bce (diff)
downloadplan9port-67075c3634c316ce9cc0e6fa88e65ca27503abc4.tar.gz
plan9port-67075c3634c316ce9cc0e6fa88e65ca27503abc4.tar.bz2
plan9port-67075c3634c316ce9cc0e6fa88e65ca27503abc4.zip
fixes
Diffstat (limited to 'bin/9.rc')
-rwxr-xr-xbin/9.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/9.rc b/bin/9.rc
new file mode 100755
index 00000000..1fb75d23
--- /dev/null
+++ b/bin/9.rc
@@ -0,0 +1,7 @@
+#!/usr/local/plan9/bin/rc
+
+PLAN9=/usr/local/plan9
+if(! ~ $path(1) $PLAN9/bin)
+ path=($PLAN9/bin $path)
+
+! ~ $#* 0 && exec $*