zsh-users
 help / color / mirror / code / Atom feed
From: "shirish शिरीष" <shirishag75@gmail.com>
To: zsh-users@zsh.org
Subject: zsh_history not showing all the entries but some
Date: Fri, 5 Jan 2018 22:07:14 +0000	[thread overview]
Message-ID: <CADdDZR=pnm1M=Jm1pxsXMdz3+4_CSCyCaTTXjmwD4e0U+3CQSA@mail.gmail.com> (raw)

Dear Friends,

I don't know why but .zsh_history only shows a few entries and not all.

    shirish@debian ~ % history
      155  zless changelog.Debian.gz
      156* torbrowser-launcher
      157* apt-cache rdepends libsdl1.2debian
      158* hg clone https://bitbucket.org/allacrost/allacrost
      160  cd Videos
      161  history | grep apg
      162  history | less

This is what is in .zshrc -

    % cat .zshrc
    # Set up the prompt

    autoload -Uz promptinit
    promptinit
    prompt adam1

    setopt histignorealldups sharehistory

    # Use emacs keybindings even if our EDITOR is set to vi
    bindkey -e

    # Keep 10000 lines of history within the shell and save it to
~/.zsh_history:
    HISTSIZE=10000
    SAVEHIST=10000
    HISTFILE=~/.zsh_history

    # Use modern completion system
    autoload -Uz compinit
    compinit

    zstyle ':completion:*' auto-description 'specify: %d'
    zstyle ':completion:*' completer _expand _complete _correct _approximate
    zstyle ':completion:*' format 'Completing %d'
    zstyle ':completion:*' group-name ''
    zstyle ':completion:*' menu select=2
    eval "$(dircolors -b)"
    zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
    zstyle ':completion:*' list-colors ''
    zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or
the character to insert%s
    zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}'
'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
    zstyle ':completion:*' menu select=long
    zstyle ':completion:*' select-prompt %SScrolling active: current
selection at %p%s
    zstyle ':completion:*' use-compctl false
    zstyle ':completion:*' verbose true

    zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b)
#([0-9]#)*=0=01;31'
    zstyle ':completion:*:kill:*' command 'ps -u $USER -o
pid,%cpu,tty,cputime,cmd'

I do have several tabs of the VTE (Virtual Terminal Emulator) or zsh
open. Maybe I'm missing a trick or something.

Except for the change in number of entries to be kept on record, all
others the default values.

I am on Debian testing and using zsh version -

    % zsh --version
    zsh 5.4.2 (x86_64-debian-linux-gnu)

     ~ % ls -l ~/.zsh_history
    -rw------- 1 shirish shirish 6451 Jan  5 20:59 /home/shirish/.zsh_history

This is on Debian buster aka testing.

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8


             reply	other threads:[~2018-01-05 22:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-05 22:07 shirish शिरीष [this message]
2018-01-05 22:32 ` Bart Schaefer
2018-01-05 23:13   ` shirish शिरीष

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADdDZR=pnm1M=Jm1pxsXMdz3+4_CSCyCaTTXjmwD4e0U+3CQSA@mail.gmail.com' \
    --to=shirishag75@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).