jimhester / per-directory-history

Per directory history for zsh, as well as global history, and the ability to toggle between them with ^G.
zlib License
260 stars 36 forks source link

Commands entered in directory history are not added to global history #21

Closed IgnusG closed 2 years ago

IgnusG commented 6 years ago

It seems the commands executed in global history mode are also saved to the directory history. But commands executed in the directory history mode are not added to the global one.

Is this intended?

kadaan commented 6 years ago

This just started happening to me too. Pretty sure it worked before.

p-patil commented 6 years ago

I'm also seeing this issue.

deathtrip commented 5 years ago

Is this still happening with new zsh versions? I wanna try the plugin, but i'm not sure if it will work properly.

open-dynaMIX commented 5 years ago

I've just started playing around with this nice plugin. It seems that incappendhistory is not respected. As soon as I close the shell, the entries are written to the global history file.

CyberShadow commented 5 years ago

Due to this problem I switched to a different implementation of this plugin in my fork: https://github.com/CyberShadow/per-directory-history/commit/b8e7a9644f5c89562a08e36eede577e8a8081eca

This version works with share_history for me in current ZSH.