moving all dots
This commit is contained in:
parent
6fcf9ba919
commit
d9b6fdfc1b
349 changed files with 34598 additions and 34727 deletions
12
dot_config/fish/completions/nc.fish
Normal file
12
dot_config/fish/completions/nc.fish
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# There a several different implementations of netcat.
|
||||
# Try to figure out which is the current used one
|
||||
# and load the right set of completions.
|
||||
|
||||
set -l flavor
|
||||
if string match -rq -- '^OpenBSD netcat' (nc -h 2>&1)[1]
|
||||
set flavor nc.openbsd
|
||||
else
|
||||
set flavor (basename (realpath (command -v nc)))
|
||||
end
|
||||
|
||||
__fish_complete_netcat nc $flavor
|
||||
Loading…
Add table
Add a link
Reference in a new issue