Skip to content

Instantly share code, notes, and snippets.

@matthewmccullough
Created January 20, 2011 00:00
Show Gist options
  • Select an option

  • Save matthewmccullough/787142 to your computer and use it in GitHub Desktop.

Select an option

Save matthewmccullough/787142 to your computer and use it in GitHub Desktop.

Revisions

  1. matthewmccullough created this gist Jan 20, 2011.
    10 changes: 10 additions & 0 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    ##############################################################################
    # History Configuration
    ##############################################################################
    HISTSIZE=5000 #How many lines of history to keep in memory
    HISTFILE=~/.zsh_history #Where to save history to disk
    SAVEHIST=5000 #Number of history entries to save to disk
    #HISTDUP=erase #Erase duplicates in the history file
    setopt appendhistory #Append history to the history file (no overwriting)
    setopt sharehistory #Share history across terminals
    setopt incappendhistory #Immediately append to the history file, not just when a term is killed