Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Aggregated logs in single file #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jwierzbo
Copy link

@jwierzbo jwierzbo commented Oct 6, 2022

It lets to use one history file for multiple directories by setting PER_DIRECTORY_AGGREGATED_PATH env (use direnv to set that in your directories accordingly)

@@ -56,7 +56,7 @@
# configuration, the base under which the directory histories are stored
#-------------------------------------------------------------------------------

[[ -z $HISTORY_BASE ]] && HISTORY_BASE="$HOME/.directory_history"
[[ -z $HISTORY_BASE ]] && HISTORY_BASE="$HOME/.config/directory_history"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to change the default for history base I think it needs to be discussed in a separate PR.

It should also probably use $XDG_CONFIG_HOME with a fallback to $HOME/.config if XDG_CONFIG_HOME is not set.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can revert that HISTORY_BASE change.
Let me know if you have more remarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants