From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1857 invoked by alias); 8 Mar 2012 23:33:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30332 Received: (qmail 23026 invoked from network); 8 Mar 2012 23:33:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=gF6TSTfCaMEVa03+NxT+xH9LnqLXgOJRTiWS3a4C46g=; b=Q8FXVrxTQTSPhMhWYhJlK1t52iFOisHeVBj8gmPNP9Zauu3S96ve5FL+moHtzylsfl 2gvaiyHG8tSSWctdfwrxh7nIjtgDgNkOExWqKsLI2DIgP5YCZ+NitcQI8JHxeeCTDuec sMBWaSHT2/xbyLX34laYlxGBGclIW2OcQar15sDkgyMlZpDA/QEjD8xS4hUYhLWTN+Ix bFU4ZVZFhgvcXPpmM1KcluZNtUHyfJIhY6S5dVPrHHQ0BlXxljvr6R6/GxJRuGcRLsv1 9GvO9djNsFCJnyE6pHTG1cBfhcCMB1WW7D15RqpUG6zwcu/SldWqQUeAKV9I5fEx63RG C+tg== Subject: Re: Issue with history Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Fran=E7ois?= In-Reply-To: <120308102812.ZM14534@torch.brasslantern.com> Date: Fri, 9 Mar 2012 00:05:28 +0100 Cc: zsh-workers@zsh.org, aifsair+zsh@gmail.com Content-Transfer-Encoding: quoted-printable Message-Id: <3EA90EE7-0E80-4F61-8349-CB5C914D432E@gmail.com> References: <160F1AB7-045E-4DF7-81FE-75D9BAC85523@gmail.com> <120308102812.ZM14534@torch.brasslantern.com> To: Bart Schaefer X-Mailer: Apple Mail (2.1257) Thanks for your answer. FYI:=20 $ type history history is a shell builtin What further information can I provide you? -- Fran=E7ois Le 8 mars 2012 =E0 19:28, Bart Schaefer a =E9crit : > On Mar 8, 5:41pm, Fran=E7ois wrote: > } > } I couldn't retrieve all the entries from my history file. > }=20 > } $ history # would only produce something like 30 entries >=20 > The doc: >=20 > history > Same as fc -l. >=20 > fc -l [ -nrdfEiD ] [ -t TIMEFMT ] [ -m MATCH ] [ OLD=3DNEW ... ] [ = FIRST [ LAST ] ] > If FIRST is not specified, it will be set to -1 (the most recent > event), or to -16 if the -l flag is given. If LAST is not > specified, it will be set to FIRST, or to -1 if the -l flag is > given. >=20 > So by default "history" lists only 16 lines of commands. If you get = more > than 16, you must already have an alias or function named "history" = that > is passing some other values. Given that you have an alias/function, = it > isn't possible to determine what "history 1" means for you. >=20 > --=20 > Barton E. Schaefer