theme-chooser should warn in env variable $ZSH is not set #968

Closed
wants to merge 80 commits into
from

Conversation

Projects
None yet
9 participants

The theme-chooser tool is a bit tricky to use otherwise. If the env. var $ZSH isn't set, then theme-chooser is unable to source various files and fails to run. This patch warns and then exits is $ZSH is not set.

sjl and others added some commits Jan 18, 2010

@sjl sjl Add a new "prose" theme. 926d116
@sjl sjl Switch around the .gitignore a bit to account for symlinking. 0f711ca
@sjl sjl Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh c3be63c
@sjl sjl Fix the collapsed-pwd. d136031
@sjl sjl Add annoying OS X files to the ignore. aa15f1b
Steve Losh Improve the git prompt. 3d22ee2
Steve Losh Clear new tabs. 6ec9f8c
@sjl sjl themes/prose: Replace collapse_pwd with a built-in version. 26866cf
@curiousstranger curiousstranger Initial merge, adding vi key bindings and RPROMPT clock 94db532
@curiousstranger curiousstranger vi keybindings 2e9ab0b
@curiousstranger curiousstranger Changed default theme 35e544f
Steve Losh Add bare dot aliases for backing out of directories. 2b61160
Steve Losh Load zmv to help with complex renames. 863b284
Steve Losh Add a file for Python-related things. 7bde96c
@curiousstranger curiousstranger Merge git://github.com/sjl/oh-my-zsh into sjl f0d9edc
@curiousstranger curiousstranger git_prompt_info didn't account for empty gitstat case.
Problem was only noticable with non-empty $ZSH_THEME_GIT_PROMPT_CLEAN
db2302a
@sjl sjl Undo the VI keybinding change and switch my prompt to be the default. e5fa536
@Tranquility Tranquility lib/completion: Don't select the first item of completion list.
Based on a commit by: Ole Reifschneider <mail@ole-reifschneider.de>
db18f43
Steve Losh Trash all the ruby/git cruft and tweak completion a bit. 66e9fa1
@sjl sjl Add the cdv alias to cd to the virtualenvs directory. ce4dc6f
@sjl sjl Merge branch 'master' of github.com:sjl/oh-my-zsh be0191c
Steve Losh Add the pman function to view man pages as PDFs. 9d43c16
Steve Losh Add some useful Django-related aliases. f7e528b
@sjl sjl Add the cdp function. 9cc2d09
@sjl sjl Add some simple Redis aliases. ad2d5b0
@sjl sjl Add the pj function to easily prettify JSON. 1df9ea8
@sjl sjl Merge branch 'master' of github.com:sjl/oh-my-zsh 7b68b96
@sjl sjl Add some Gunicorn aliases and the oo alias. 0be470c
@sjl sjl Add some Supervisord aliases. 0168043
@sjl sjl Move over a few more aliases from my personal .zshrc. 37303d0
@sjl sjl Start a custom version of startapp. 4ea95c3
@sjl sjl Start using tree. 968aaf2
@sjl sjl Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh bf13b92
@sjl sjl lib/django: add a pmsp alias 2d82f60
@sjl sjl Merge branch 'master' of github.com:sjl/oh-my-zsh f35fb82
@sjl sjl Add an alias for quick looking. e13b2dc
@sjl sjl Update Mercurial tab completion functions. d52ac73
@sjl sjl Remove the example script to make custom symlinkable. 7ab8155
@sjl sjl Merge branch 'master' of github.com:robbyrussell/oh-my-zsh 677c845
@sjl sjl Remove some unused aliases/functions. 8b78c01
@sjl sjl django: add pmt 3f7b1eb
@sjl sjl lib/python: lazily load the extremely slow virtualenvwrapper f2dad51
@sjl sjl lib: prune some things to load faster 3e49476
@sjl sjl Add Vim undo files to the .gitignore. edda779
@sjl sjl themes/prose: remove the battery charge prompt c279e2a
@sjl sjl themes/prose: add .box-name support 8f292a0
@sjl sjl lib/misc: add cj function 036ab9a
@sjl sjl themes/prose: Remove prompt_char to make the prompt faster. cd4d2c8
@webflo webflo fix path to github repository and installation instructions f2f09f0
@till till * test if 'custom' exists before we try to read from it
 * this is to avoid an error message when we enter zsh ;)
d631d8a
@sjl sjl Remove terminal title junk. ee28db2
@nicoulaj nicoulaj Add a plugin that emulates Fish style live command coloring. 95d695f
@sjl sjl lib/django: add South aliases d113618
@sjl sjl lib/misc: add the "What the hell did I do the other day?" function 9bedf29
@sjl sjl Merge with origin. f1fb180
@sjl sjl Merge branch 'command-coloring-plugin' of https://github.com/nicoulaj… dd22de5
@sjl sjl Add kennethreitz' Fabric tab completion as a plugin. 5aa3706
@sjl sjl Better syntax highlighting. ef5e8b1
@sjl sjl Syntax highlighting colors. fee5b95
@sjl sjl lib/directories: remove the useless . alias 0503e60
@sjl sjl Add encrypt/decrypt. 57af129
@sjl sjl Merge branch 'master' of github.com:sjl/oh-my-zsh a88f0fc
@sjl sjl themes/prose: make the Mercurial binary configurable 9f202fc
@sjl sjl Merge pull request #2 from webflo/f2f09f0ae6ed10a7e6e16c9bc111e4d4bd9…
…d5258

Untitled
68c9723
@sjl sjl Add the rprompt with the retval indicator. 2833427
@sjl sjl Merge branch 'master' of github.com:sjl/oh-my-zsh 3e67320
@sjl sjl Merge with upstream. b17f997
@sjl sjl Map Ctrl+N/P too. d160264
@sjl sjl A few tweaks for my prompt. f378bff
@yevgenko yevgenko minor update regexp to fit to the new git status output 18211c7
@sjl sjl Switch to static directory for pmrpg. b35ad06
@sjl sjl Merge with upstream. 9ab8458
@sjl sjl Merge pull request #4 from yeevgen/patch-2
minor update regexp to fit to the new git status output
2d2bcf6
@sjl sjl Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh d80c246
@sjl sjl Merge branch 'master' of github.com:sjl/oh-my-zsh b4cf42e
@sjl sjl Merge pull request from till. bd00365
@SimonGreenhill SimonGreenhill merge 5e8734b
@SimonGreenhill SimonGreenhill Revert "merge"
This reverts commit 5e8734b, reversing
changes made to 7a41498.
8b572a0
@SimonGreenhill SimonGreenhill Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh c087a56
@SimonGreenhill SimonGreenhill theme-chooser should warn in env variable /Users/simon/.oh-my-zsh is …
…not set
5ff8e09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment