Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: History search and regular expression
- X-seq: zsh-users 15252
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: History search and regular expression
- Date: Wed, 4 Aug 2010 17:43:10 +0200
- Cc: Anonymous bin ich <ichbinanon@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ANaR8X7NqV6uyX46EK5f/xt+2q0C5z5lJoF1qpy7H9s=; b=qwuaJiyjNGTUtFMLGtR3DtPVPPR5b0PGcpAx6WUdniVtjmcBeM7kW7gdXLTmmuRdZr 2VGF1ylA1yOjY+J6PSPjb1vIzX5SfEGo3QlgqkPoBUGbox5z6xDdx/ARAE7aFg9FvsFu QuxFz/TS4y1pwuCf3vkliqNK03c1Q5gn6r4S4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=HPWoS7Qi7U8d5xmCYt2IuITvrnWNFqKL04yOfSYnKCE5ermf2T7nsUBbM0G6VcvC3J ZIXX4FY5wuy++qBtTPJFGgrcRI//WQMgk/ckzJnkvZMhADqQavWR0aOiZ89I6C0K609c qZvGlMwcIardspzLt3QiCYXcil2Lmduz+mlK0=
- In-reply-to: <AANLkTikcm0=1k9gbpZiniDz_H_BjtS41k2xpiziqigV=@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <AANLkTikcm0=1k9gbpZiniDz_H_BjtS41k2xpiziqigV=@xxxxxxxxxxxxxx>
Hi,
2010/8/4 Anonymous bin ich <ichbinanon@xxxxxxxxx>:
> Is it possible to search through the history using regex? An obvious
> way is to grep through the history file, but I want to know if ZSH
> supports this functionality.
Not builtin, but you may use globbing with
history-incremental-pattern-search-backward
bindkey '^r' history-incremental-pattern-search-backward
(for example)
Best regards,
--
Jérémie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author