dotfiles/zsh/.oh-my-zsh/lib/correction.zsh
2024-06-19 00:06:56 +02:00

10 lines
239 B
Bash

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