# -*- mode: sh; -*- # Copied and modified from # http://zshwiki.org/home/code/zle/addsudoorpfexec BUFFER="sudo $(history -n -1 -1)" CURSOR=$#BUFFER