fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a390e36e9
master
1# There a several different implementations of netcat. 2# Try to figure out which is the current used one 3# and load the right set of completions. 4 5set -l flavor 6if string match -rq --'^OpenBSD netcat' ( nc -h2>&1 )[ 1 ] 7set flavor nc.openbsd 8else 9set flavor( command -s nc| path resolve| path basename) 10end 11 12__fish_complete_netcat nc$flavor