Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh_history not showing all the entries but some
- X-seq: zsh-users 23045
- From: shirish शिरीष <shirishag75@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: zsh_history not showing all the entries but some
- Date: Fri, 5 Jan 2018 22:07:14 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=9PMxud+ws2xA4jzs1cr0zCNrEO6365JW8d8Th511KMU=; b=VTl0W6pl0zrBcOw9DniJIOzhIHNINO65o8YgIwCmSDCa21UB5XpDcuDnVT5IIHpek4 HuttRQCo/9KJLp9q7SM8Ci9n3PV3cx0+9wXqZibB/d8I5g/nZX7THxny1CFgC7UDDzI9 fY9M9k95mQoaR3K2qdL/YLkJj+7jjWoPxdXMaCnKO6LWgIjbrpLOVMe1tT0huf+LlgTo wdIEwqkGZdFC2JBrNAfigRDWgDiCzn3mDjeNBhAJUOvrGe9dOkV05DY44ZOozqiHR6jm 8Cb9SAIPZtY+chTV4b+v/IANF5d7aIyAPBujaNiF0MPqZ1CpyX17DDr8gCgQG1rhF1C5 hwOA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author