On Mon, Aug 26, 2013 at 10:33 PM, Thomas Koch <[email protected]> wrote:
> On the vcsh site I think it might be a sensible option to prevent certain
> commands to be run during a vcsh session, at least sudo and su.
Sorry, but no. What about login? Should I follow through new instances
of bash or zsh? And a ton of other possibilities...
> Is it possible to set aliases in the vcsh shell?
You can do whatever you want in the
post-enter
hook. If you want, you can submit it and maybe it'll be included as an example.
> Or could the vcsh shell be
> rush[1] (in debian)?
I am not sure if it makes sense to have a login shell different from
the "vcsh shell". That being said, you can use the same hook or simply
vcsh run $repo rush
Or if you _really_ care and come up with a clean path to support
$VCSH_SHELL or similar, which you can then set to whatever shell you
please...
Richard
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]