zsh-users
 help / color / mirror / code / Atom feed
* Repeating last command from *local* history
@ 2021-02-11 16:37 Andreas Kusalananda Kähäri
  2021-02-11 20:47 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Kusalananda Kähäri @ 2021-02-11 16:37 UTC (permalink / raw)
  To: zsh-users

I'm using zsh 5.8 on OpenBSD 6.8, and I set the SHARE_HISTORY and
EXTENDED_HISTORY shell options.

I would like to repeat the last command from the command line history
of the current shell session, without accidentally executing a recent
command from some other shell session that I'm using in another
terminal.

Using "r -L" works, but only if the most recent command in the shared
history is a command from the current shell session.  If it isn't, the
shell responds with "fc: no matching events found".

This *feels* like a bug.


Regards,

-- 
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden

.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-28 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 16:37 Repeating last command from *local* history Andreas Kusalananda Kähäri
2021-02-11 20:47 ` Peter Stephenson
2021-02-28 13:25   ` Andreas Kusalananda Kähäri

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).