summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 0233e99..2ce3a22 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -22,6 +22,12 @@
#
# **** End License ****
+# Turn on history logging
+export HISTCONTROL=
+export HISTFILESIZE=10000
+export HISTSIZE=10000
+export PROMPT_COMMAND='history -a'
+
# only do this if we are going into configure mode
if [ "$_OFR_CONFIGURE" != "ok" ]; then
return 0