fork/fish-shell

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

Shun SakaiAdd completions for `scrypt`189f4ca3c

master
1.8 KiB23 linesraw
1# Completions for the scrypt encryption utility
2
3complete -x -c scrypt -n __fish_use_subcommand -a enc -d "Encrypt file"
4complete -x -c scrypt -n __fish_use_subcommand -a dec -d "Decrypt file"
5complete -x -c scrypt -n __fish_use_subcommand -a info -d "Print information about the encryption parameters"
6
7complete -c scrypt -n "__fish_seen_subcommand_from enc dec" -s f -d "Force the operation to proceed"
8complete -x -c scrypt -n "__fish_seen_subcommand_from enc dec" -l logN -a "(seq 10 40)" -d "Set the work parameter N"
9complete -x -c scrypt -n "__fish_seen_subcommand_from enc dec" -s M -d "Use at most the specified bytes of RAM"
10complete -x -c scrypt -n "__fish_seen_subcommand_from enc dec" -s m -d "Use at most the specified fraction of the available RAM"
11complete -c scrypt -n "__fish_seen_subcommand_from enc dec" -s P -d "Deprecated synonym for `--passphrase dev:stdin-once`"
12complete -x -c scrypt -n "__fish_seen_subcommand_from enc dec" -s p -a "(seq 1 32)" -d "Set the work parameter p"
13complete -x -c scrypt -n "__fish_seen_subcommand_from enc dec" -l passphrase -a "
14    dev:tty-stdin\t'Read from /dev/tty, or stdin if fails (default)'
15    dev:stdin-once\t'Read from stdin'
16    dev:tty-once\t'Read from /dev/tty'
17    env:(set -xn)\t'Read from the environment variable'
18    file:(__fish_complete_path)\t'Read from the file'
19    " -d "Read the passphrase using the specified method"
20complete -x -c scrypt -n "__fish_seen_subcommand_from enc dec" -s r -a "(seq 1 32)" -d "Set the work parameter r"
21complete -x -c scrypt -n "__fish_seen_subcommand_from enc dec" -s t -d "Use at most the specified seconds of CPU time"
22complete -c scrypt -n "__fish_seen_subcommand_from enc dec" -s v -d "Print encryption parameters and memory/CPU limits"
23complete -x -c scrypt -n "not __fish_seen_subcommand_from enc dec info" -l version -d "Print version"