From: "Zhong, Kaixiang" <kzhong@onewave.com>
To: "'zsh-users@math.gatech.edu'" <zsh-users@math.gatech.edu>
Subject: HISTSIZE and prompt
Date: Fri, 4 Apr 1997 10:53:07 -0500 [thread overview]
Message-ID: <c=US%a=_%p=OneWave%l=OW56-970404155307Z-3406@ow56.onewave.com> (raw)
Hi:
I am using zsh-3.1.0 on HPUX.
In .zshrc, I set HISTSIZE to 100, and it does store previous 100
commands.
However, when I type history, it only shows last 16 commands.
Is there any other variables I should set?
Another thing I notices is:
if I set
1) 'setopt cdablevars ' to enable that the argument of cd can be an env
variable,
2) prompt='%~>'
3) mydir=/home/kzhong/dir/mydir
after I 'cd ~mybin', my prompt looks like "~mydir>"
but if I change 3) to
3) dir=/home/kzhong/dir/mydir
and after I 'cd ~dir', my prompt looks like "~/dir/mydir" instead of
"~dir".
How can I make it looks like "~dir"?
Thanks in advance.
Kai,
========================================================
Kai (Kaixiang) Zhong Phone: (617) 923-6669
Software Engineer Fax: (617) 923-5169
OneWave, Inc. or (617) 923-6565
1 Arsenal Marketplace, http://www.onewave.com
Watertown, MA, 02172 Email: kzhong@onewave.com
========================================================
next reply other threads:[~1997-04-04 16:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-04 15:53 Zhong, Kaixiang [this message]
1997-04-04 16:29 ` Zefram
1997-04-05 7:36 ` gwing
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='c=US%a=_%p=OneWave%l=OW56-970404155307Z-3406@ow56.onewave.com' \
--to=kzhong@onewave.com \
--cc=zsh-users@math.gatech.edu \
/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).