zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: kzhong@onewave.com (Zhong Kaixiang)
Cc: zsh-users@math.gatech.edu
Subject: Re: HISTSIZE and prompt
Date: Fri, 4 Apr 1997 17:29:06 +0100 (BST)	[thread overview]
Message-ID: <14986.199704041629@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <c=US%a=_%p=OneWave%l=OW56-970404155307Z-3406@ow56.onewave.com> from "Zhong, Kaixiang" at Apr 4, 97 10:53:07 am

Zhong, Kaixiang wrote:
>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?

If you type "history 1" it will show you the entire history.

>3) dir=/home/kzhong/dir/mydir
>and after I 'cd ~dir', my prompt looks like "~/dir/mydir" instead of
>"~dir".

If you actually did "cd ~dir" then your prompt should look right.  Did you
possibly do "cd ~/dir/mydir" or something similar?  zsh will only display
the directory as "~dir" if you have already used "~dir" in a command.

-zefram


  reply	other threads:[~1997-04-04 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-04 15:53 Zhong, Kaixiang
1997-04-04 16:29 ` Zefram [this message]
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=14986.199704041629@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=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).