From 40b5d5ab1cb413821ee62c833de042c9ed9c9d8a Mon Sep 17 00:00:00 2001 From: Martin Blazik Date: Thu, 28 Jul 2022 06:25:55 +0200 Subject: [PATCH] Disable bash editing configuration --- rc/03-bash.sh.bak | 14 -------------- rc/03-bash.sh.skip | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 rc/03-bash.sh.bak create mode 100644 rc/03-bash.sh.skip diff --git a/rc/03-bash.sh.bak b/rc/03-bash.sh.bak deleted file mode 100644 index 67450c1..0000000 --- a/rc/03-bash.sh.bak +++ /dev/null @@ -1,14 +0,0 @@ -# https://forum.root.cz/index.php?topic=16821.0 - -# Override some functionality from bash-completion -_expand() { :; } -__expand_tilde_by_ref() { :; } -_filedir_xspec () { :; } - -shopt -s direxpand - -#shopt -u complete_fullquote -#shopt -s direxpand -#shopt -u progcomp -#shopt -s cdable_vars - diff --git a/rc/03-bash.sh.skip b/rc/03-bash.sh.skip new file mode 100644 index 0000000..bdaa3d3 --- /dev/null +++ b/rc/03-bash.sh.skip @@ -0,0 +1,17 @@ +function auto_expand() { + # https://forum.root.cz/index.php?topic=16821.0 + # Override some functionality from bash-completion + _expand() { :; } + __expand_tilde_by_ref() { :; } + _filedir_xspec () { :; } + + shopt -s direxpand + + #shopt -u complete_fullquote + #shopt -s direxpand + #shopt -u progcomp + #shopt -s cdable_vars +} + +auto_expand() +