summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-03-01 03:14:18 -0600
committerJesse Luehrs <doy@tozt.net>2012-03-01 04:17:19 -0600
commit743e6dd917c8a54e9bb3253160a0c7936c5fe333 (patch)
tree7eef7a00bab61167be041189c00f269e7394e1bb /zshrc
parenta94f8f170c2a0470adb261f7604fe5627decad08 (diff)
downloadconf-743e6dd917c8a54e9bb3253160a0c7936c5fe333.tar.gz
conf-743e6dd917c8a54e9bb3253160a0c7936c5fe333.zip
zsh command spellcheck
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 5bb6a22..6adcd9c 100644
--- a/zshrc
+++ b/zshrc
@@ -29,15 +29,19 @@ source ~/.zshinput
source ~/.sh/cdhist.sh
# }}}
# zsh configuration {{{
+autoload -U colors
+colors
setopt sharehistory
setopt extendedhistory
setopt histignoredups
setopt nobeep
setopt completeinword
+setopt correct
export REPORTTIME=120
export HISTFILE=$HOME/.zsh_history
export HISTSIZE=1000000000
export SAVEHIST=1000000000
+export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [ynae] "
# prompt {{{
function shell_prompt_precmd () {
PROMPT=`fancy-prompt --prompt-escape zsh $?`