remove insert sudo shortcut

This commit is contained in:
David Todd 2021-01-11 22:27:28 -06:00
parent 635cb655be
commit 10de77b77e

9
.zshrc
View File

@ -30,15 +30,6 @@ setopt NOCLOBBER
# Dont 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