From cce72a25278ae5a17605e4532fe60537160ddd49 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 17 Dec 2019 21:41:44 +0000 Subject: [PATCH] Fixes typo --- shells/zsh/oh-my-zsh-custom/fzf.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/zsh/oh-my-zsh-custom/fzf.zsh b/shells/zsh/oh-my-zsh-custom/fzf.zsh index d59832eb..559d0908 100644 --- a/shells/zsh/oh-my-zsh-custom/fzf.zsh +++ b/shells/zsh/oh-my-zsh-custom/fzf.zsh @@ -146,7 +146,7 @@ jhswap(){ return fi cmd=${tokens[1]} - if [[ "$cmd" == "hydra" && "${tokens[-1]}" == "-m" ]]; then + if [[ "$cmd" == "hashcat" && "${tokens[-1]}" == "-m" ]]; then mode=$(hashcat --example-hashes | awk -v RS="\n\n" -F "\t" '{gsub("\n","\t",$0); print $1 "\t" $2 "\t" $3}' | sed 's/MODE: //; s/TYPE: //' | fzf -d "\t" --header="Mode Type" --with-nth='1,2' --preview='echo {3}' --preview-window=up:1 | cut -d' ' -f1) if [[ "${LBUFFER[-1]}" != " " ]]; then LBUFFER="${LBUFFER} "