aboutsummaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc39
1 files changed, 3 insertions, 36 deletions
diff --git a/zshrc b/zshrc
index 29c3846..c715183 100644
--- a/zshrc
+++ b/zshrc
@@ -1,47 +1,14 @@
-# Path to your oh-my-zsh configuration.
-export ZSH=$HOME/.oh-my-zsh
-
-# Set to the name theme to load.
-# Look in ~/.oh-my-zsh/themes/
-export ZSH_THEME="xcolour"
-
-# Set to this to use case-sensitive completion
-export CASE_SENSITIVE="true"
-
-# Comment this out to disable weekly auto-update checks
-export DISABLE_AUTO_UPDATE="true"
-
-# Uncomment following line if you want to disable colors in ls
-# export DISABLE_LS_COLORS="true"
-
-# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
-# Example format: plugins=(rails git textmate ruby lighthouse)
-plugins=(git)
-
-source $ZSH/oh-my-zsh.sh
-
-# Customize to your needs...
-
-export LSCOLORS="exgxbxdxcxegedxbxgxcxd"
+for config_file (~/.zsh/*.zsh) source $config_file
export EDITOR=vim
-bindkey "\e[3~" delete-char
-
if [ -e $HOME/.zshrc-local ]; then
source $HOME/.zshrc-local
fi
-# runs after local because 'most' isn't standard,
-# and may be provided by a local path addition
-if [[ -e $(which most) ]]; then
- export PAGER=most
-fi
-
# run after local because local because user bin should
# take absolute priority
export PATH=$HOME/bin:$PATH
-function preexec () {
- echo "($fg[magenta]`date +%r`$reset_color) $fg[cyan]$3$reset_color"
-}
+# override builtin functions (preexec, precmd, etc.)
+source ~/.zsh/functions.zsh-overrides