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

mcfly doesn't honor $HISTTIMEFORMAT when writing history to file #58

Open
Lomanic opened this issue Apr 26, 2019 · 1 comment
Open

mcfly doesn't honor $HISTTIMEFORMAT when writing history to file #58

Lomanic opened this issue Apr 26, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Lomanic
Copy link

Lomanic commented Apr 26, 2019

I've tweaked my bash history to have a timestamp in .bash_history, following this blog post https://sanctum.geek.nz/arabesque/better-bash-history/

After installing mcfly, commands get appended in $HISTFILE file without timestamp.

I think mcfly add --exit ${exit_code} --append-to-histfile (in mcfly.bash) should handle this variable and write history according to its value.

@cantino
Copy link
Owner

cantino commented May 13, 2019

Yes, that would be a nice addition.

@cantino cantino added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants