merge upstream

This commit is contained in:
James Cox 2009-09-23 16:14:04 +01:00
commit 8a8a7bafa0
14 changed files with 16 additions and 6 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
locals.zsh locals.zsh
log/.zsh_history log/.zsh_history
projects.zsh projects.zsh
custom/*.zsh
!custom/example.zsh

View file

@ -43,8 +43,13 @@ TODO: Update this..
* much much more.. * much much more..
h2. Useful h2. Useful
the "refcard":http://www.bash2zsh.com/zsh_refcard/refcard.pdf is pretty tasty for tips. the "refcard":http://www.bash2zsh.com/zsh_refcard/refcard.pdf is pretty tasty for tips.
h3. Customization
If you want to override any of the default behavior, just add a new file (ending in @.zsh@) into the @custom/@ directory.
h3. Uninstalling h3. Uninstalling
If you want to uninstall it, just run @uninstall_oh_my_zsh@ from the command line and it'll remove itself and revert you to bash (or your previous zsh config). If you want to uninstall it, just run @uninstall_oh_my_zsh@ from the command line and it'll remove itself and revert you to bash (or your previous zsh config).

View file

@ -1,8 +1,8 @@
## Command history configuration ## Command history configuration
#
HISTFILE=$HOME/.zsh_history HISTFILE=$HOME/.zsh_history
HISTSIZE=5000 HISTSIZE=10000
SAVEHIST=5000 SAVEHIST=10000
setopt hist_ignore_dups # ignore duplication command history list setopt hist_ignore_dups # ignore duplication command history list
setopt share_history # share command history data setopt share_history # share command history data

View file

@ -17,7 +17,7 @@ _rake () {
fi fi
} }
compdef _rake rake compctl -K _rake rake
function _cap_does_task_list_need_generating () { function _cap_does_task_list_need_generating () {
if [ ! -f .cap_tasks~ ]; then return 0; if [ ! -f .cap_tasks~ ]; then return 0;
@ -39,4 +39,4 @@ function _cap () {
fi fi
} }
compdef _cap cap compctl -K _cap cap

View file

@ -2,4 +2,7 @@
# Load all of the config files in ~/oh-my-zsh that end in .zsh # Load all of the config files in ~/oh-my-zsh that end in .zsh
# TIP: Add files you don't want in git to .gitignore # TIP: Add files you don't want in git to .gitignore
for config_file ($ZSH/*.zsh) source $config_file for config_file ($ZSH/lib/*.zsh) source $config_file
# Load all of your custom configurations from custom/
for config_file ($ZSH/custom/*.zsh) source $config_file