summaryrefslogtreecommitdiff
path: root/tests/history1.sub
blob: 543a3e8eb17f4129a9f050fe615fde92ae476da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
HISTFILE=foohist-$$
unset HISTIGNORE HISTCONTROL
set -o history

history -c
cat <<!
one
two
three
!

history
fc -s cat