diff options
-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 |