This commit is contained in:
GitHub Merge Button 2012-05-31 14:45:35 -07:00
commit 27949c8a15
5 changed files with 17 additions and 11 deletions

1
.gitignore vendored
View file

@ -6,3 +6,4 @@ custom/*
!custom/example.zsh !custom/example.zsh
cache cache
*.swp *.swp
*~

View file

@ -12,18 +12,18 @@ You can install this via the command line with either `curl` or `wget`.
h4. via `curl` h4. via `curl`
@curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh@ @curl -L https://github.com/zyce/oh-my-zsh/raw/master/tools/install.sh | sh@
h4. via `wget` h4. via `wget`
@wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh@ @wget --no-check-certificate https://github.com/zyce/oh-my-zsh/raw/master/tools/install.sh -O - | sh@
h3. The manual way h3. The manual way
1. Clone the repository 1. Clone the repository
@git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh@ @git clone git://github.com/zyce/oh-my-zsh.git ~/.oh-my-zsh@
2. Create a new zsh config by copying the zsh template we've provided. 2. Create a new zsh config by copying the zsh template we've provided.

View file

@ -1,6 +1,7 @@
## smart urls ## smart urls
autoload -U url-quote-magic if [ -f "/usr/share/zsh/functions/Zle/url-quote-magic" ] ; then
zle -N self-insert url-quote-magic autoload -U url-quote-magic && zle -N self-insert url-quote-magic
fi
## file rename magick ## file rename magick
bindkey "^[m" copy-prev-shell-word bindkey "^[m" copy-prev-shell-word

View file

@ -28,6 +28,10 @@ function omz_termsupport_preexec {
title "$CMD" "%100>...>$2%<<" title "$CMD" "%100>...>$2%<<"
} }
autoload -U add-zsh-hook #autoload -U add-zsh-hook
add-zsh-hook precmd omz_termsupport_precmd #add-zsh-hook precmd omz_termsupport_precmd
add-zsh-hook preexec omz_termsupport_preexec #add-zsh-hook preexec omz_termsupport_preexec
## Fix for zsh hook compatibility issues
if [ -f "/usr/share/zsh/functions/Zle/add-zsh-hook" ] ; then
autoload -U add-zsh-hook && add-zsh-hook precmd omz_termsupport_precmd && add-zsh-hook preexec omz_termsupport_preexec
fi

View file

@ -5,11 +5,11 @@ ZSH=$HOME/.oh-my-zsh
# Look in ~/.oh-my-zsh/themes/ # Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each # Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded. # time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell" ZSH_THEME="juanghurtado"
# Example aliases # Example aliases
# alias zshconfig="mate ~/.zshrc" alias zshconfig="nano ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" alias ohmyzsh="nano ~/.oh-my-zsh"
# Set to this to use case-sensitive completion # Set to this to use case-sensitive completion
# CASE_SENSITIVE="true" # CASE_SENSITIVE="true"