Skip to content

Commit

Permalink
(re)enable history library
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev authored Jan 9, 2019
1 parent 0e1cda9 commit be472f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion covermyass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ elif [[ $option == 2 ]]; then
echo "[+] Set HISTFILESIZE & HISTSIZE to 0"

set +o history
echo "[+] Disabled history library"

echo
echo "Permenently disabled bash log."
Expand All @@ -84,7 +85,8 @@ elif [[ $option == 3 ]]; then
export HISTSIZE=50000
echo "[+] Restore HISTFILESIZE & HISTSIZE default values."

# set +o history # Undo this
set -o history
echo "[+] Enabled history library"

echo
echo "Permenently enabled bash log."
Expand Down

0 comments on commit be472f6

Please sign in to comment.