#!/usr/bin/env zsh choice="$(fuzzel --index -d <<'EOF' Shutdown Restart EOF )" (( ${?} != 0 )) && exit case "${choice}" in 0) poweroff ;; 1) reboot ;; esac