mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 12:29:35 +00:00
Merge pull request #42 from philsmd/master
fixed tab completion to work with 64.bin, 32.bin and just oclHashcat binaries
This commit is contained in:
commit
737e1a281c
@ -1,4 +1,4 @@
|
||||
run:
|
||||
source ./install
|
||||
OR
|
||||
source ./oclHashcat64.sh # not working permanently (not working anymore after a reboot etc)
|
||||
source ./oclHashcat.sh # not working permanently (i.e. not working after a reboot)
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
COMPGENSCRIPT=/etc/bash_completion
|
||||
COMPGENFOLDER=${COMPGENSCRIPT}.d
|
||||
COMPGENTARGET=${COMPGENFOLDER}/oclHashcat64.sh
|
||||
COMPGENTARGET=${COMPGENFOLDER}/oclHashcat.sh
|
||||
BASHRC=~/.bashrc
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
@ -131,7 +131,7 @@ if [ -d "${COMPGENFOLDER}" ]; then
|
||||
|
||||
# copy the script to target folder
|
||||
|
||||
cp ${ROOT}/oclHashcat64.sh "${COMPGENTARGET}"
|
||||
cp ${ROOT}/oclHashcat.sh "${COMPGENTARGET}"
|
||||
|
||||
# adjust paths to the main binaries of oclHashcat
|
||||
|
||||
|
@ -742,4 +742,4 @@ _oclHashcat ()
|
||||
esac
|
||||
}
|
||||
|
||||
complete -F _oclHashcat -o filenames "${OCLHASHCAT_ROOT}"/oclHashcat64.bin "${OCLHASHCAT_ROOT}"/oclHashcat32.bin
|
||||
complete -F _oclHashcat -o filenames "${OCLHASHCAT_ROOT}"/oclHashcat64.bin "${OCLHASHCAT_ROOT}"/oclHashcat32.bin oclHashcat
|
Loading…
Reference in New Issue
Block a user