mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Fix bash completion install
- `^(HASHCAT_ROOT=)` instead of `^(ROOT=)` - single quotation instead of double quotation to avoid `bash: !\1\: event not found` error
This commit is contained in:
parent
fafb277e07
commit
5a817a7fee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user