Skip to content

Commit

Permalink
fix: comment out broken git zle widgets
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
  • Loading branch information
vladdoster committed Dec 16, 2022
1 parent 3bf7040 commit 5c64310
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions zsh/.config/zsh/widget.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ zle -N _git-status
bindkey '\es' _git-status

# Bind <alt>+d to `git diff`
function _git-diff {
zle .kill-whole-line
BUFFER="git diff"
zle .accept-line
}
zle -N _git-diff
bindkey '\ed' _git-diff
# function _git-diff {
# zle .kill-whole-line
# BUFFER="git diff"
# zle .accept-line
# }
# zle -N _git-diff
# bindkey '\ed' _git-diff


function reset_broken_terminal() {
Expand Down

0 comments on commit 5c64310

Please sign in to comment.