From mboxrd@z Thu Jan 1 00:00:00 1970 From: rogpeppe@gmail.com (roger peppe) Date: Fri, 25 Mar 2011 13:53:17 +0000 Subject: [9fans] how can I set path In-Reply-To: References: <8a19cc063c1520054aa76c7160fd027a@brasstown.quanstro.net> <20110325121438.GA2542@fangle.proxima.alt.za> Message-ID: Topicbox-Message-UUID: c08da35c-ead6-11e9-9d60-3106f5b1d025 On 25 March 2011 12:27, erik quanstrom wrote: >> I read that as allowing the shell to run programs that the kernel would >> reject. ?I eventually understood it to mean that you can hide programs >> where only the shell will find them. ?Is the current directory one of >> those places, I wonder? ?I'm reluctant to figure it out for myself - >> long day. > > try this: > > ? ? ? ?cd $home/tmp > ? ? ? ?cat > diff > ? ? ? ?#!/bin/rc > ? ? ? ?echo hi! > ? ? ? ? > ? ? ? ?chmod a+x diff > ? ? ? ?history -D $somefile > ? ? ? ?diff $somefile `{yesterday $somefile} > i always set $path to (/bin .) it can be much faster, apart from anything else.