From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: RJD <3246251196ryan@gmail.com> Newsgroups: gmane.emacs.help Subject: Re: shell: Search history of shell (not emacs) Date: Tue, 16 Dec 2014 13:42:49 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1418737417 22927 80.91.229.3 (16 Dec 2014 13:43:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2014 13:43:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 14:43:31 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y0sPT-0005r0-0G for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2014 14:43:31 +0100 Original-Received: from localhost ([::1]:44865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0sPS-0004QN-Ke for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2014 08:43:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0sP9-0004Nh-32 for help-gnu-emacs@gnu.org; Tue, 16 Dec 2014 08:43:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0sP1-000616-C4 for help-gnu-emacs@gnu.org; Tue, 16 Dec 2014 08:43:11 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:46545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0sP1-00060r-5S for help-gnu-emacs@gnu.org; Tue, 16 Dec 2014 08:43:03 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y0sOz-0005ZF-Cd for help-gnu-emacs@gnu.org; Tue, 16 Dec 2014 14:43:01 +0100 Original-Received: from http-v.fe.bosch.de ([194.39.218.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Dec 2014 14:43:01 +0100 Original-Received: from 3246251196ryan by http-v.fe.bosch.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Dec 2014 14:43:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 194.39.218.10 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101602 Archived-At: Florian Lindner xgm.de> writes: > > Hello, > > using M-r I can search through the history of this shell session. But emacs > does not save the history between session and I also use the plain shell. > > How can I search though my shells (zsh) history (what I do with Ctrl-r) > within emacs? > > Thanks, > Florian > > For this I have a horrible method of macroing a function key to essentially output tail -n 500 ~/.bash_history then I can use M-r. Would be nice if there was a better method.