Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh_history not showing all the entries but some

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
    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

    # Use modern completion system
    autoload -Uz 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)
    zstyle ':completion:*:kill:*' command 'ps -u $USER -o

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.

          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8

Messages sorted by: Reverse Date, Date, Thread, Author