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

ssh-history returns empty list when extended_history is set #1

Open
Greenek opened this issue May 15, 2017 · 0 comments · May be fixed by #3
Open

ssh-history returns empty list when extended_history is set #1

Greenek opened this issue May 15, 2017 · 0 comments · May be fixed by #3

Comments

@Greenek
Copy link

Greenek commented May 15, 2017

ssh-connect is not working for zsh environment with extended_history flag enabled, because it's changing $HISTFILE format. From the docs:

EXTENDED_HISTORY
Save each command’s beginning timestamp (in seconds since the epoch) and the duration (in seconds) to the history file. The format of this prefixed data is:

: <beginning time>:<elapsed seconds>;<command>
Greenek added a commit to Greenek/ssh-connect that referenced this issue May 15, 2017
@superhawk610 superhawk610 linked a pull request Oct 17, 2017 that will close this issue
webermann added a commit to webermann/ssh-connect that referenced this issue Feb 21, 2021
"Update grep/sed patterns for ssh-history"
"now handles .bash_history and .zsh_history with extended_history enabled (closes gko#1)"
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 a pull request may close this issue.

1 participant