Use HISTIGNORE instead of HISTCONTROL

This commit is contained in:
Roman Mueller 2018-09-01 13:00:10 +02:00
parent 1246bbc17f
commit dded97652b

View File

@ -5,7 +5,7 @@ functions:
Resulting file will contain additional timestamp lines in the format of `#1535795174` for each data line. Resulting file will contain additional timestamp lines in the format of `#1535795174` for each data line.
- code: | - code: |
LFILE=file_to_write LFILE=file_to_write
HISTCONTROL=ignorespace HISTIGNORE='history *'
history -c history -c
DATA DATA
history -w $LFILE history -w $LFILE