Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: READNULLCMD: its process and completion



On Oct 1, 12:40pm, Peter Stephenson wrote:
}
} > 1. There's something weird about completion of 'init.d' scripts with the 
} > '<filename' form. The simplest example I could find:
} 
} There certainly is:  [...]
} in other words *any* completion from *anywhere* involving files in an init
} and an rc directory tries to treat it as if it was a service to be started
} or stopped.  It seems hard to believe this is the right thing to do.

I'm sure that's because you might run any of

	/etc/init.d/service
	sh /etc/init.d/service
	sh -x /etc/init.d/service

or even pathologically I suppose

	/bin/sh < /etc/init.d/service

(also any of same with one from /rc.d/*.d instead).



Messages sorted by: Reverse Date, Date, Thread, Author