From 46a54aea22f0c74135619eb2ca7d3e1daef4e643 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Wed, 7 Sep 2011 13:27:58 -0500 Subject: Fix some problems with the completion scripts 1. we don't need to call compopt -o filenames explicitly anymore the bash-completion scripts from the debian package do this more intelligently. 2. Restore shopts before running the command so that if the command is terminated with ctrl-c they will be set properly. --- etc/bash_completion.d/vyatta-op | 1 - 1 file changed, 1 deletion(-) (limited to 'etc') diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index 5b2312c..c1d27c8 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -107,7 +107,6 @@ _vyatta_op_default_expand () _vyatta_op_expand else # after the first word => cannot be vyatta command so use original default - compopt -o filenames _filedir_xspec fi } -- cgit v1.2.3