remove insert sudo shortcut
This commit is contained in:
parent
635cb655be
commit
10de77b77e
9
.zshrc
9
.zshrc
@ -30,15 +30,6 @@ setopt NOCLOBBER
|
||||
# Don’t nice background processes
|
||||
setopt NO_BG_NICE
|
||||
|
||||
# Makes Alt-s insert a sudo at beginning of prompt
|
||||
function insert_sudo {
|
||||
if [[ $BUFFER != "sudo "* ]]; then
|
||||
BUFFER="sudo $BUFFER"; CURSOR+=6
|
||||
fi
|
||||
}
|
||||
zle -N insert-sudo insert_sudo
|
||||
bindkey "^[s" insert-sudo
|
||||
|
||||
# Check for updates...
|
||||
# Stolen and modified Oh-My-ZSH's update system
|
||||
if [ "${ENABLE_DOTFILES_AUTO_UPDATE}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user