Skip to content
Browse files

link zshrc to ~/.zshrc

  • Loading branch information...
1 parent cf5b60d commit 6227f8097db9ccbe27e54ddb387674d3e097f69c @phmongeau committed Jun 27, 2012
Showing with 14 additions and 67 deletions.
  1. +14 −67 zshrc
View
81 zshrc
@@ -1,79 +1,26 @@
-#!/bin/zsh
+# Path to your oh-my-zsh configuration.
+ZSH=$HOME/.oh-my-zsh
-# ZSH config files by Philippe Mongeau
+# Set name of the theme to load.
+# Look in ~/.oh-my-zsh/themes/
+# Optionally, if you set this to "random", it'll load a random theme each
+# time that oh-my-zsh is loaded.
+export ZSH_THEME="phmongeau"
-#-----------------------------------------------------------------------------
-# Zsh opts
-#-----------------------------------------------------------------------------
-autoload -U compinit
-compinit
+plugins=(osx git python brew pip history-substring-search)
-autoload -U promptinit
-promptinit
+source $ZSH/oh-my-zsh.sh
-setopt autolist
-setopt nolistbeep
-setopt menucomplete
-setopt completealiases
-zstyle ':completion:*' verbose yes
-zstyle ':completion:*:description' format '%B%d%b'
-zstyle ':completion:*:message' format '%d'
-zstyle ':completion:*:warnings' format 'No matches for: %d'
+#-----------------------------------
+fpath=(~/.zsh/zsh-completions $fpath)
+fpath=(~/.zsh/custom/completions $fpath)
-# vi mode
-set -o vi
+source ~/.oh-my-zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
-# --- edit line in editor ---
-autoload -U edit-command-line
-zle -N edit-command-line
-bindkey '\C-x\C-e' edit-command-line
-bindkey -M vicmd v edit-command-line
+autoload zmv
-
-# Par
-PARINIT=rTbgqR\ B=.,\?_A_a\ Q=_s\>\|
-
-#-----------------------------------------------------------------------------
-# Source
-#-----------------------------------------------------------------------------
-
-# GIT PROMPT
-. ~/.zsh/git_prompt_rc
-
-# ENV VARS
-. ~/.zsh/env_vars_rc
-
-# PATH
-. ~/.zsh/path_rc
-
-# ALIASES
-. ~/.zsh/alias_rc
-
-# NOTES
-. ~/.zsh/notes
-
-# FUNCTIONS
-. ~/.zsh/general_functions
-
-# COMPLETIONS
-. ~/.zsh/completions
-
-# Z
. `brew --prefix`/etc/profile.d/z.sh
function precmd () {
z --add "$(pwd -P)"
}
-
-#-----------------------------------------------------------------------------
-# Plugins
-#-----------------------------------------------------------------------------
-
-# Syntax hiligth
-. ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-# HISTORY SEARCH
-. ~/.zsh/plugins/zsh-history-substring-search.zsh
-
-#-----------------------------------------------------------------------------
-# Other
-#-----------------------------------------------------------------------------

0 comments on commit 6227f80

Please sign in to comment.
Something went wrong with that request. Please try again.