From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10766 invoked from network); 4 Apr 1997 16:29:11 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 4 Apr 1997 16:29:11 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA23006; Fri, 4 Apr 1997 10:48:00 -0500 (EST) Resent-Date: Fri, 4 Apr 1997 10:46:48 -0500 (EST) Message-Id: From: "Zhong, Kaixiang" To: "'zsh-users@math.gatech.edu'" Subject: HISTSIZE and prompt Date: Fri, 4 Apr 1997 10:53:07 -0500 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Resent-Message-ID: <"rKnLt1.0.kc5.e9IHp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/782 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 ========================================================