Zplug: No history for between session

Created on 29 Jan 2017  路  2Comments  路  Source: zplug/zplug

Problem Summary

No history for between session (history reset) for tools like psprint/zsh-navigation-tools zsh-users/zsh-autosuggestions

System Information

  • uname -a
Darwin Jakubs-MacBook-Pro.local 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
  • zsh version
zsh 5.3.1 (x86_64-apple-darwin16.3.0)
  • zplug version/commit
Wed Jan 18 13:25:39 2017 +0900

Minimal zshrc

Create a minimal reproducing set of configurations for this issue. Please
remove all unnecessary parts!

source ~/.zplug/init.zsh

zplug "zsh-users/zsh-autosuggestions"

if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

zplug load --verbose

Steps to Reproduce

  1. type any command, e.g. asdasd
  2. start typing asd, zsh-autosuggestions suggests asdasd
  3. open new session, start typing asd, nothing is suggested

Most helpful comment

OK, of course it wasn't but the be honest I'm kind of suprised that it wasn't mentioned in any tutorials/configs I've seen.

I had to set export those

export HISTFILE=~/.zsh_history
export HISTSIZE=10000
export SAVEHIST=10000

This can be closed of course. Thanks for awesome tool!

All 2 comments

Is this really a problem with zplug?

OK, of course it wasn't but the be honest I'm kind of suprised that it wasn't mentioned in any tutorials/configs I've seen.

I had to set export those

export HISTFILE=~/.zsh_history
export HISTSIZE=10000
export SAVEHIST=10000

This can be closed of course. Thanks for awesome tool!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kdheepak picture kdheepak  路  10Comments

autoferrit picture autoferrit  路  5Comments

jottr picture jottr  路  6Comments

bootleq picture bootleq  路  3Comments

b4b4r07 picture b4b4r07  路  7Comments