dotfiles/zsh/.local/share/oh-my-zsh/lib/correction.zsh

11 lines
239 B
Bash
Raw Normal View History

2024-06-19 00:06:56 +02:00
if [[ "$ENABLE_CORRECTION" == "true" ]]; then
alias cp='nocorrect cp'
alias man='nocorrect man'
alias mkdir='nocorrect mkdir'
alias mv='nocorrect mv'
alias sudo='nocorrect sudo'
alias su='nocorrect su'
setopt correct_all
fi