dotfiles/.config/shell/zshrc.d/1-enable-command-spelling-correction.zsh

13 lines
270 B
Bash
Raw Normal View History

2019-07-24 05:33:28 +00:00
#!/bin/zsh
# Correct spelling for commands
setopt correct
# turn off the infernal correctall for filenames
unsetopt correctall
# Enable command auto-correction.
ENABLE_CORRECTION="true"
# Display red dots whilst waiting for completion.
2019-07-24 05:33:28 +00:00
COMPLETION_WAITING_DOTS="true"