From ba136bb773f6450de73f38d3f2000c52783fbd2e Mon Sep 17 00:00:00 2001 From: Carlos Cardoso Date: Thu, 25 Oct 2012 21:10:15 -0200 Subject: [PATCH] Fixed customizations for mac and linux environments. --- templates/zshrc-linux.zsh | 43 +++++++++++++++++++ templates/{zshrc.zsh-cadusk => zshrc-mac.zsh} | 11 ++--- 2 files changed, 49 insertions(+), 5 deletions(-) create mode 100644 templates/zshrc-linux.zsh rename templates/{zshrc.zsh-cadusk => zshrc-mac.zsh} (84%) diff --git a/templates/zshrc-linux.zsh b/templates/zshrc-linux.zsh new file mode 100644 index 000000000..6f647174a --- /dev/null +++ b/templates/zshrc-linux.zsh @@ -0,0 +1,43 @@ +# Path to your oh-my-zsh configuration. +ZSH=$HOME/.oh-my-zsh + +# 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. +ZSH_THEME="mh" + +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" + +# Set to this to use case-sensitive completion +# CASE_SENSITIVE="true" + +# Comment this out to disable weekly auto-update checks +DISABLE_AUTO_UPDATE="true" + +# Uncomment following line if you want to disable colors in ls +# DISABLE_LS_COLORS="true" + +# Uncomment following line if you want to disable autosetting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment following line if you want red dots to be displayed while waiting for completion +COMPLETION_WAITING_DOTS="true" + +# Virtualenvwrapper plugin - Disable directory name discovery +DISABLE_VENV_CD="true" + +# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +plugins=(git ssh-agent debian python pythonbrew vim-override virtualenvwrapper) + +source $ZSH/oh-my-zsh.sh +# source `which virtualenvwrapper.sh` + +# Customize to your needs... + +if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi +unsetopt correctall diff --git a/templates/zshrc.zsh-cadusk b/templates/zshrc-mac.zsh similarity index 84% rename from templates/zshrc.zsh-cadusk rename to templates/zshrc-mac.zsh index 694122543..4a02a6839 100644 --- a/templates/zshrc.zsh-cadusk +++ b/templates/zshrc-mac.zsh @@ -24,15 +24,18 @@ DISABLE_AUTO_UPDATE="true" # DISABLE_AUTO_TITLE="true" # Uncomment following line if you want red dots to be displayed while waiting for completion -# COMPLETION_WAITING_DOTS="true" +COMPLETION_WAITING_DOTS="true" + +# Virtualenvwrapper plugin - Disable directory name discovery +DISABLE_VENV_CD="true" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) -plugins=(git python pythonbrew vim-override) +plugins=(git ssh-agent python pythonbrew vim-override virtualenvwrapper) source $ZSH/oh-my-zsh.sh -source `which virtualenvwrapper.sh` +# source `which virtualenvwrapper.sh` # Customize to your needs... if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi @@ -40,5 +43,3 @@ if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi unsetopt correctall - -# Themes override ls alias from aliases.zsh