diff --git a/_gtfobins/history.md b/_gtfobins/history.md index 5870217..e5e79cc 100644 --- a/_gtfobins/history.md +++ b/_gtfobins/history.md @@ -2,7 +2,7 @@ functions: file-write: - description: Resulting file will contain additional timestamp lines in the format of `#1535795174` for each data line. - - code: | + code: | LFILE=file_to_write HISTIGNORE='history *' history -c @@ -10,7 +10,7 @@ functions: history -w $LFILE file-read: - description: The file content will be surrounded by your current bash history session content. - - code: | + code: | LFILE=file_to_read HISTTIMEFORMAT=$'\r\e[K' history -r $LFILE