Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Repeating last command from *local* history
- X-seq: zsh-users 26506
- From: Andreas Kusalananda Kähäri <andreas.kahari@xxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Repeating last command from *local* history
- Date: Thu, 11 Feb 2021 17:37:28 +0100
- Archived-at: <https://zsh.org/users/26506>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-02/20210211163728.GA8608%40box.prefix.duckdns.org>
- List-id: <zsh-users.zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
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
.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author