diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 6 |
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 |