blob: 8c6da899d00031c8a396b6a0c27c0ca756fdad88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# Clear shell history.
if [ -f "$HISTFILE" ]; then
: > "$HISTFILE"
fi
# Script must be sourced for this to work.
history -c > /dev/null 2>&1
history -p > /dev/null 2>&1
|