Skip to content

Commit

Permalink
zshrc: improve autocorrections handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jul 25, 2024
1 parent 324aea1 commit 69aa73c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions zshrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ setopt share_history
# Don't hang up background jobs
setopt no_hup

# autocorrect command and parameter spelling
# autocorrect command spelling
setopt correct
setopt correctall

# use emacs bindings even with vim as EDITOR
bindkey -e
Expand All @@ -48,8 +47,7 @@ GRC_ZSH="$HOMEBREW_PREFIX/etc/grc.zsh"
# zsh-specific aliases
alias zmv="noglob zmv -vW"
alias rake="noglob rake"
alias be="nocorrect noglob bundle exec"
alias brew="nocorrect brew"
alias be="noglob bundle exec"

# to avoid non-zero exit code
true

0 comments on commit 69aa73c

Please sign in to comment.