modify the way to recognize if input is a history
warabanshi opened this issue · comments
warabanshi commented
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.