Permalink
Browse files

Fix bash completion regression (#772)

  • Loading branch information...
1 parent 3f48a0b commit 7695acc79820746a29a1c701285c9444df150e1e @zachriggle zachriggle committed with Idolf Oct 18, 2016
Showing with 3 additions and 1 deletion.
  1. +3 −1 extra/bash_completion.d/shellcraft
@@ -1,5 +1,6 @@
+#!/usr/bin/env bash
# cache list of shellcodes
-_shellcraft_shellcodes=$(shellcraft)
+_shellcraft_shellcodes=$(pwn shellcraft -l)
_shellcraft()
{
@@ -44,3 +45,4 @@ _shellcraft()
}
complete -F _shellcraft pwn shellcraft
+complete -F _shellcraft shellcraft

0 comments on commit 7695acc

Please sign in to comment.