linux - Save Directory Specific history for zshell -


i trying save directory specific command line history. aka, when in directory called happy, , arrow up, don't want see of past command line history, want see history done in specific happy directory.

i want of saved file can access later. perhaps save files organized directory, or date, don't know best. have set up?

thank you!

it sounds use script on github. excerpt readme:

per-directory-history

per directory history zsh, global history, , ability toggle between them ^g.

this implementation of per directory history zsh, implementations of exist in bash. implements per-directory-history-toggle-history function change using directory history using global history. in both cases history saved both global history , directory history, toggle state not effect saved histories. being able switch between global , directory histories on fly novel feature far aware.

this standalone repository script, included in oh-my-zsh plugin.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -