From 743e6dd917c8a54e9bb3253160a0c7936c5fe333 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 1 Mar 2012 03:14:18 -0600 Subject: zsh command spellcheck --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zshrc') 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 $?` -- cgit v1.2.3-54-g00ecf