fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
7a1146ebb
master
1# completion for caffeinate (macOS) 2 3complete -c caffeinate -s d -f -d'Create an assertion to prevent the display from sleeping' 4complete -c caffeinate -s i -f -d'Create an assertion to prevent the system from idle sleeping' 5complete -c caffeinate -s m -f -d'Create an assertion to prevent the disk from idle sleeping' 6complete -c caffeinate -s s -f -d'Create an assertion to prevent the system from sleeping (AC power)' 7complete -c caffeinate -s u -f -d'Create an assertion to declare that user is active' 8complete -c caffeinate -s t -x -a'10 60 300 600 1800 3600' -d'Specifies the timeout value in seconds' 9complete -c caffeinate -s w -x -a'(__fish_complete_pids)' -d'Waits for the process with the specified PID to exit' 10 11complete -c caffeinate -x -a'(__fish_complete_subcommand)'