fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Emily Grace SevilleAdd horcrux completion (#9922)f9d21cc21

master
567 B8 linesraw
1set -l subcommands 'bind split'
2set -l subcommand_show_condition "not __fish_seen_subcommand_from $subcommands"
3set -l split_option_show_condition "__fish_seen_subcommand_from split"
4
5complete -c horcrux -a bind -n "$subcommand_show_condition" -f -d 'Bind directory'
6complete -c horcrux -a split -n "$subcommand_show_condition" -f -d 'Split file'
7complete -c horcrux -s n -r -n "$split_option_show_condition" -d 'Count of horcruxes to make'
8complete -c horcrux -s t -r -n "$split_option_show_condition" -d 'Count of horcruxes required to resurrect the original file'