Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh-2.6-beta13-hzoli12's fc looks like fc -2
- X-seq: zsh-workers 709
- From: Kunihiro Ishiguro <kunihiro@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: zsh-2.6-beta13-hzoli12's fc looks like fc -2
- Date: Fri, 5 Jan 1996 21:00:38 +0900
Small problem about zsh-2.6-beta13-hzoli12. Built-in function fc with
no args looks like fc -2.
kunihiro(mokuren)% zsh-2.6-beta13-hzoli12 -f
mokuren% pwd
/usr/home/kunihiro
mokuren% ls
News diff ptop
RR diff~ rfc1882.txt
mokuren% fc
<run into vi and show 'pwd'. I expect 'ls'>
This doesn't occur with zsh-2.6-beta13. Below code is from zsh-2.6-beta13.
Thanks.
/kunihiro@xxxxxxxxx
*** builtin.c.dist Fri Jan 5 20:36:23 1996
--- builtin.c Fri Jan 5 20:36:58 1996
***************
*** 2371,2377 ****
}
/* delayrem is set if the command is r */
delayrem = !strcmp(nam, "r");
! if (!delayrem && !(ops['l'] && unset(HISTNOSTORE)))
remhist();
if (ops['R']) {
/* read history from a file */
--- 2371,2378 ----
}
/* delayrem is set if the command is r */
delayrem = !strcmp(nam, "r");
! if (!delayrem && !(ops['l'] && unset(HISTNOSTORE)) &&
! (ops['R'] || ops['W'] || ops['A']))
remhist();
if (ops['R']) {
/* read history from a file */
Messages sorted by:
Reverse Date,
Date,
Thread,
Author