zsh-users
 help / color / mirror / code / Atom feed
From: Eric Smith <es@fruitcom.com>
To: zsh-users@sunsite.dk
Subject: Re: disabling exit
Date: Thu, 13 Mar 2003 14:59:48 +0100	[thread overview]
Message-ID: <20030313135948.GA3693@fruitcom.com> (raw)
In-Reply-To: <20030313101910.GA23691@picard.franken.de>

Thomas Köhler said:
> Eric Smith wrote [2003/03/13 10:52]:
> > How do I disable the command ect or <c-d> so that
> > I have a shell that cannot easily be exited?
> 
> setopt ignore_eof
> 
> See "man zshoptions" :-)

Yeah I did but there was so much there, I gave up before
detecting this.

Also added:
alias exit='echo -e I wont go away'

So there we go... hopefully I can now press F4 and always
get a shell - weirdly I also added a 10 minute cron to
kill anything that uses the shell viz.

10,20,30,40,0 * * * * kill `ps ax|grep 'pts/4'|grep -v zsh|cut -d'p' -f1` 2>/dev/null

(I am a screen(1) user).

-- 
Eric Smith


  reply	other threads:[~2003-03-13 14:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-12 20:46 Eric Smith
2003-03-13 10:19 ` Thomas Köhler
2003-03-13 13:59   ` Eric Smith [this message]
2003-03-13 15:01     ` DervishD
2003-03-13 22:35       ` Dennis Haney
2003-03-14  9:18         ` DervishD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030313135948.GA3693@fruitcom.com \
    --to=es@fruitcom.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).