Casey Watson
b5071580d6
Fix to random theme selection
...
- themes array is 1-based
- theme files names are located in indicies 1 through N inclusive
- this resolves an issue where you would occasionally see: "no such
file or directory. Random theme '' loaded..."
14 years ago
Robby Russell
fb1fd8ab5a
Feature: Random themes now supported. Just set your theme to 'random' and it'll load a different theme each time oh-my-zsh is started. Closes #309
14 years ago
Pat Regan
51a7cb093b
Move sourcing of custom to below plugins
14 years ago
Pat Regan
42b7e5d0be
Minor reformatting
14 years ago
Pat Regan
87030f4d83
Moved the plugin fpath loop and compinit so they happen before custom scripts are loaded.
14 years ago
Pat Regan
6aad987f82
Optimize plugin loading so that only one call to compinit is required
14 years ago
Pat Regan
af0b6ac28f
Moved compinit call back to oh-my-zsh.sh, after plugins are loaded
14 years ago
Pat Regan
eeea6e4fb6
Removed commented out code.
14 years ago
Pat Regan
a56e12932f
Moved the single compinit call from oh-my-zsh.sh to lib/completion.zsh
14 years ago
Pat Regan
782883b5d8
Replace redundant calls to compinit with a single call.
14 years ago
Michael Komitee
15eadb9e4d
Postponing sourcing of the theme until after local customizations
14 years ago
Tomas Kramar
18568a2310
unset config_file is useless
14 years ago
Robby Russell
be63480e22
Reorganizing plugins so that each plugin has it's own directory now so that any plugin-specific functions can be bundled within there.
14 years ago
Robby Russell
210a72b441
Initial implementation of a new plugin system, so that people can managed which aliases/functions they want.
15 years ago
Robby Russell
91c9864326
Unsetting config_file after loading config
15 years ago
johnmaxwelliv
d2a87be173
Based on a suggestion from robbyrussel, using env for greater compatibility.
15 years ago
johnmaxwelliv
1273b9722a
Instead of using the user's standard shell, this script should be run using zsh, since that was the shell it was written for. On my machine changes to my default shell only take effect when I log out and then long in again. Plus, it's nice for people to be able to try oh-my-zsh out even if zsh isn't their default shell right? :-)
15 years ago
Erik Kastner
aa4b6fb64b
adding homebrew completions - and a function dir
15 years ago
Toon Claes
5816fdbf3c
extended path variable, temporary
15 years ago
Jon Evans
5e2ad9a8ed
run update check *after* running custom configuration scripts.
...
This means we are running it after $PATH has potentially been set up,
which means it's more likely that commands like "git" will be found
15 years ago
Robby Russell
8d2244ed59
Moving some example files into custom/
15 years ago
Robby Russell
8dd06e3c73
Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options
15 years ago
Robby Russell
0cce4fe21e
Trying out some zsh-fu. Using the for x (*.zsh) source approach
15 years ago
Robby Russell
cbaffd4a1c
Moving the loading of all .zsh files into a different file so that we can remove zshrc from the repository
15 years ago