Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: HISTSIZE and prompt
- X-seq: zsh-users 783
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: kzhong@xxxxxxxxxxx (Zhong Kaixiang)
- Subject: Re: HISTSIZE and prompt
- Date: Fri, 4 Apr 1997 17:29:06 +0100 (BST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <c=US%a=_%p=OneWave%l=OW56-970404155307Z-3406@xxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author