From 5a817a7fee5e6a1a20b4301dd50c979ead9c1f9c Mon Sep 17 00:00:00 2001 From: Xeonacid Date: Sat, 9 Mar 2024 20:32:26 +0800 Subject: [PATCH] Fix bash completion install - `^(HASHCAT_ROOT=)` instead of `^(ROOT=)` - single quotation instead of double quotation to avoid `bash: !\1\: event not found` error --- extra/tab_completion/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/tab_completion/install b/extra/tab_completion/install index e5f3fd85a..b415be157 100755 --- a/extra/tab_completion/install +++ b/extra/tab_completion/install @@ -141,7 +141,7 @@ if [ -d "${COMPGENFOLDER}" ]; then # adjust paths to the main binaries of hashcat - sed -ri "s!^(ROOT=).*!\1\"${ROOT_PARENT}\"!" "${COMPGENTARGET}" + sed -ri 's!^(HASHCAT_ROOT=).*!\1\"${ROOT_PARENT}\"!' "${COMPGENTARGET}" # add the compgen to bashrc if not already there