From: Juhapekka Tolvanen <juhtolv@st.jyu.fi>
To: zsh-user mailing list <zsh-users@sunsite.auc.dk>
Subject: Bug or feature?
Date: Fri, 28 Jul 2000 14:31:56 +0300 (EEST) [thread overview]
Message-ID: <Pine.LNX.4.10.10007281351110.20078-100000@verso.st.jyu.fi> (raw)
My ~/.zshrc sources my ~/.kshrc via "." (dot) and my ~./kshrc sources my
~/.shinit via ".". My ~/shinit has also these lines:
# {{{ Logout
trap '. $HOME/.sh_logout; exit' 0
# }}}
Bash, ash and pdksh really sources my ~/.sh_logout during logout because of
that trap but my zsh does not. So I had to create ~/.zlogout that has just
these lines:
# ~/.zlogout
# echo ~/.zlogout
. ~/.sh_logout
Is this bug or feature? If it is bug, warn me, when that bug is fixed, so I
can delete that ~/.zlogout.
You may ask, where I heard about such hack. Right this way:
http://www.oreilly.com/
http://unix.oreilly.com/
http://www.oreilly.com/catalog/upt2/
http://www.oreilly.com/catalog/upt2/examples/
http://www.oreilly.com/catalog/upt2/examples/#sh_logout
ftp://ftp.oreilly.com/pub/examples/power_tools/unix/split/sh_logout
# IF YOU USE bash, COPY THIS FILE INTO $HOME/.bash_logout .
# FOR OTHER SHELLS WITHOUT A LOGOUT FILE, PUT THIS INTO $HOME/.sh_logout
# AND ADD THE FOLLOWING LINE TO YOUR .profile:
# trap '. $HOME/.sh_logout; exit' 0
BTW that "Drill-book" really rules, although it does not have something
about Zsh.
--
Juhapekka "naula" Tolvanen * U of Jyväskylä * juhtolv@st.jyu.fi
http://www.cc.jyu.fi/~juhtolv/ * * "STRAIGHT BUT NOT NARROW !!"
---------------------------------------------------------------
"if i was twice the man i could be, i'd still be half of what
you need" Nine Inch Nails
next reply other threads:[~2000-07-28 11:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-28 11:31 Juhapekka Tolvanen [this message]
2000-07-28 12:06 ` Andrej Borsenkow
2000-07-28 12:14 ` Juhapekka Tolvanen
2000-07-28 12:24 ` Andrej Borsenkow
2000-07-28 12:51 ` Juhapekka Tolvanen
-- strict thread matches above, loose matches on Subject: below --
1997-06-13 22:20 bug " Louis-David Mitterrand
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=Pine.LNX.4.10.10007281351110.20078-100000@verso.st.jyu.fi \
--to=juhtolv@st.jyu.fi \
--cc=zsh-users@sunsite.auc.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).