warabanshi / rhi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modify the way to recognize if input is a history

warabanshi opened this issue · comments

modify the way to recognize if input is a history.
currently, it is identified by the input follows default history format it has history number and the command like 301 ls -lh.
Instead of this, history command must has history command history at the tail of the result so use it to identify if the input came from history command or not.