fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
7b8684e46
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' ( netcat -h2>&1 )[ 1 ] 7set flavor nc.openbsd 8else 9set flavor( command -s netcat| path resolve| path basename) 10end 11 12__fish_complete_netcat netcat$flavor