From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 27 Jun 2015 22:23:32 +0200 From: Teodoro Santoni To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20150627202332.GA5343@edge> References: <2af7585886a441a7d57f091f95e72501@krabbe.dyndns.org> <0DEA53A5-7447-4DB5-9974-EEAB957E488D@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0DEA53A5-7447-4DB5-9974-EEAB957E488D@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [9fans] Trying to override 'cd' command Topicbox-Message-UUID: 5c3bbddc-ead9-11e9-9d60-3106f5b1d025 On Sat, Jun 27, 2015 at 11:55:32AM -0500, Ryan Gonzalez wrote: > I think so... > > So, in order to get my cd command, I enter '-' at the rc prompt? Is there some way for that to happen automatically? > > On June 27, 2015 8:34:24 AM CDT, Neven Sajko wrote: > >From the manual: > > > > -l If -l is given or the first character of argument > > zero is -, rc reads commands from > > $home/lib/profile, if it exists, before reading > > its normal input. > > > >Does this help you? Good evening, no. You have to source the file $home/lib/profile by hand or invoke rc from a link called -rc, as rc -l or whatever. -- Teodoro Santoni Something is wrong. I don't wanna compile 20 KB of Go code to list files.