fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a9618477e
master
1function __setx_complete_args -d'Function to generate args' 2set -l previous_token( commandline -xc)[ -1 ] 3 4if test " $previous_token " = /u 5__fish_print_windows_users 6return 7end 8end 9 10complete -c setx -f -a'(__setx_complete_args)' 11 12complete -c setx -f -n'__fish_seen_argument -w s' -a /u\ 13 -d'Run the script with the credentials of the specified user account' 14complete -c setx -f -n'__fish_seen_argument -w u' -a /p\ 15 -d'Specify the password of the user account that is specified in the /u parameter' 16 17complete -c setx -f -n'not __fish_seen_argument -w a -w r -w x' -a /a\ 18 -d'Specify absolute coordinates and offset as search parameters' 19complete -c setx -f -n'not __fish_seen_argument -w a -w r -w x' -a /r\ 20 -d'Specify relative coordinates and offset' 21complete -c setx -f -n'not __fish_seen_argument -w a -w r -w x' -a /x\ 22 -d'Display file coordinates, ignoring the /a, /r, and /d command-line options' 23 24complete -c setx -f -n'__fish_seen_argument -w a -w r' -a /m\ 25 -d'Specify to set the variable in the system environment' 26 27complete -c setx -f -a /s -d'Specify the name or IP address of a remote computer' 28complete -c setx -f -a /k\ 29 -d'Specify that the variable is set based on information from a registry key' 30complete -c setx -f -a /f -d'Specify the file that you want to use' 31complete -c setx -f -a /d -d'Specify delimiters to be used' 32complete -c setx -f -a'/?' -d'Show help'