ssh-connect icon indicating copy to clipboard operation
ssh-connect copied to clipboard

`ssh-history` returns empty list when `extended_history` is set

Open Greenek opened this issue 7 years ago • 0 comments

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 avatar May 15 '17 21:05 Greenek