(re)enable history library
parent
0e1cda99ee
commit
be472f61f3
|
@ -63,6 +63,7 @@ elif [[ $option == 2 ]]; then
|
||||||
echo "[+] Set HISTFILESIZE & HISTSIZE to 0"
|
echo "[+] Set HISTFILESIZE & HISTSIZE to 0"
|
||||||
|
|
||||||
set +o history
|
set +o history
|
||||||
|
echo "[+] Disabled history library"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Permenently disabled bash log."
|
echo "Permenently disabled bash log."
|
||||||
|
@ -84,7 +85,8 @@ elif [[ $option == 3 ]]; then
|
||||||
export HISTSIZE=50000
|
export HISTSIZE=50000
|
||||||
echo "[+] Restore HISTFILESIZE & HISTSIZE default values."
|
echo "[+] Restore HISTFILESIZE & HISTSIZE default values."
|
||||||
|
|
||||||
# set +o history # Undo this
|
set -o history
|
||||||
|
echo "[+] Enabled history library"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Permenently enabled bash log."
|
echo "Permenently enabled bash log."
|
||||||
|
|
Loading…
Reference in New Issue