projects
/
zsh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add the functions needed for some keybindings
[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"