diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-28 21:38:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-28 21:38:52 +1300 |
commit | 66e73957af8561198dc6fc25ea739c1ce9128824 (patch) | |
tree | 377c7529253805959a76433a418fba58b60d8c1c /bash | |
parent | Remove resolved issue (diff) | |
download | dotfiles-66e73957af8561198dc6fc25ea739c1ce9128824.tar.gz dotfiles-66e73957af8561198dc6fc25ea739c1ce9128824.zip |
Fix nc(1) completions, add nmap(1) completions
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bash_completion.d/nc.bash | 2 | ||||
-rw-r--r-- | bash/bash_completion.d/netcat.bash | 4 | ||||
-rw-r--r-- | bash/bash_completion.d/nmap.bash | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/bash/bash_completion.d/nc.bash b/bash/bash_completion.d/nc.bash new file mode 100644 index 00000000..8ef1fe69 --- /dev/null +++ b/bash/bash_completion.d/nc.bash @@ -0,0 +1,2 @@ +# Complete nc(1) with hostnames +complete -A hostname nc diff --git a/bash/bash_completion.d/netcat.bash b/bash/bash_completion.d/netcat.bash index be4e885f..60b9d614 100644 --- a/bash/bash_completion.d/netcat.bash +++ b/bash/bash_completion.d/netcat.bash @@ -1,2 +1,2 @@ -# Complete nc(1) with hostnames -complete -A hostname netcat nc +# Complete netcat(1) with hostnames +complete -A hostname netcat diff --git a/bash/bash_completion.d/nmap.bash b/bash/bash_completion.d/nmap.bash new file mode 100644 index 00000000..7126ca68 --- /dev/null +++ b/bash/bash_completion.d/nmap.bash @@ -0,0 +1,2 @@ +# Complete nmap(1) with hostnames +complete -A hostname nmap |