initial
[zsh.git] / .zsh / functions / sudo-command-line
1 # -*- mode:sh -*-
2
3 # run command line as user root via sudo:
4 [[ -z $BUFFER ]] && zle up-history
5 [[ $BUFFER != sudo\ * ]] && BUFFER="sudo $BUFFER"