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.
- code: |
LFILE=file_to_write
HISTCONTROL=ignorespace
HISTIGNORE='history *'
history -c
DATA
history -w $LFILE