Commit graph

2,924 commits

Author SHA1 Message Date
Marc Cornellà
0814b84b86 Run pushd command directly and trigger prompt redraw 2015-02-10 19:18:15 +01:00
Marc Cornellà
a75f63cbab Clean up and fix +1/-0 syntax to work as expected
This change follows this proposed behaviour:

 Ctrl+Shift+Left:  move to last visited directory
 Ctrl+Shift+Right: move to next visited directory

an alternative behaviour would be:

 Ctrl+Shift+Left:  move directory to the left in `dirs` output
 Ctrl+Shift+Right: move directory to the right in `dirs` output

It also introduces `setopt nopushdminus` as a way to standardise
pushd syntax. It's value wasn't clear before, which has been the
cause of so many pull requests regarding this plugin not working
in some environments.
2015-02-10 19:18:14 +01:00
Robby Russell
6df6e9fc2a Merge pull request #3164 from nailor/fix-deactivate-bug
virtualenvwrapper: Deactivate only if in virtualenv
2015-02-10 07:28:51 -08:00
Robby Russell
212970fc5a Merge pull request #3329 from capeterson/master
Improved ant completion
2015-02-10 07:28:39 -08:00
Robby Russell
b602cddf56 Merge pull request #3419 from mcornella/fix-cake-target-cache
[Plugin: cake] switch newer-than logic to get the desired behavior
2015-02-10 07:28:01 -08:00
Robby Russell
3de8c93ffd Merge pull request #3525 from apjanke/term-pwd-in-precmd
Move pwd update output to precmd to avoid contamination
2015-02-10 07:27:03 -08:00
Chris Peterson
bc3d47ee96 Fix for ant targets with leading dash
As suggested in https://github.com/robbyrussell/oh-my-zsh/pull/3329#issuecomment-72062236
2015-02-09 13:12:02 -08:00
Chris Peterson
99e6665208 Change ant target enumeration
Make use of ant's project help feature instead of trying to parse XML with regex (see: http://stackoverflow.com/a/1732454/740787).
This is a behavioral change that does a few things:
 • adds support for ant imports, which were previously not recognized as possibly containing targets
 • supresses targets with no description, as these are conventionally for internal use only
2015-02-09 13:12:02 -08:00
Chris Peterson
424b18b2f6 Backwards logic in newer check.
Regen .ant_targets only if it's newer than build.xml? Yeah, that seems wrong.
2015-02-09 13:12:02 -08:00
Andrew Janke
375e402855 Reword comments on termsupport internal functions. 2015-02-04 01:00:51 -05:00
Marc Cornellà
0c3db1da81 Switch newer-than logic to get the desired behavior
In the old version, the function returned true (0) if the cache file
was newer than the Cakefile, which was *always* unless the Cakefile
had been updated. Therefore we generated the file every time unless
the Cakefile was updated, which was precisely when we needed to
regenerate the cache file.

Now it generates the cache file only when the Cakefile has been
updated.
2015-02-01 23:32:38 +01:00
Robby Russell
906a168299 Merge pull request #3478 from stephenrjohnson/custom_cache_dir
Allow custom cache dir
2015-01-31 06:23:50 -06:00
Robby Russell
daa7aa5a38 Merge pull request #3493 from NicholasTD07/patch-1
Fast installation time by shallow copying git repo
2015-01-31 06:10:21 -06:00
Robby Russell
6dc7feae69 Merge pull request #3490 from lmartins/master
Fix Plugin commands
2015-01-31 06:09:01 -06:00
Robby Russell
ee93ad347e Merge pull request #3489 from sunlight07/patch-1
activate django plugin on command "django-admin"
2015-01-31 06:08:09 -06:00
Andrew Janke
90e71fbddd Move chpwd update output from chpwd hook to precmd to avoid
contaminating script/function output
2015-01-27 21:00:07 -06:00
Nicholas T
a2c2947ff7 Fast installation time by shallow copying git repo
Use `--depth=1` to clone just the lastest version rather than every version in git.
2015-01-15 09:09:41 +10:00
Luis Martins
e912725071 Fix Plugin commands 2015-01-12 17:26:04 +00:00
Yu Jiang
82df514087 Update django.plugin.zsh
activate django plugin on command "django-admin"
2015-01-12 21:57:00 +08:00
Robby Russell
ce9ea014d4 Merge pull request #3429 from apjanke/termsupport-apple-chpwd
termsupport: add chpwd hook for setting pwd in Apple Terminal.app
2015-01-09 02:45:12 -06:00
Stephen
8176a409ce Update /home/srj/.oh-my-zsh/cache references 2015-01-08 16:38:05 +00:00
Stephen
1ff3adadec Allow custom cache dir
We are running oh-my-zsh on a shared install and the only issue is each
user having a custom cache dir. This will allow us to set the cache dir
to ZSH_CACHE_DIR=~/oh-my-zsh/cache/ .
2015-01-08 16:01:16 +00:00
Jyrki Pulliainen
3c836ff301 virtualenvwrapper: Deactivate only if in virtualenv
If user manually deactivates the virtualenv when using this mode, zsh
will produce following error:

    deactivate:12: command not found: virtualenv_deactivate

To avoid this, check that the VIRTUAL_ENV flag is set before trying to
automatically deactivate the virtual environment.

Fixes #2185
2015-01-07 18:17:29 +01:00
Andrew Janke
5e95d19bcb termsupport: add chpwd hook for setting pwd in Apple Terminal.app 2014-12-21 15:05:22 -05:00
Robby Russell
922e1d5d34 Merge pull request #3407 from rawberg/mira-theme
mira theme shows active node, ruby and java versions
2014-12-20 12:41:25 -08:00
Robby Russell
0520b68146 Merge pull request #3404 from ekaragodin/master
Added Yii2 command completion
2014-12-20 12:40:47 -08:00
Robby Russell
877aef3a68 Merge pull request #3146 from typekpb/tmux-aliases
additional tmux aliases
2014-12-20 12:38:43 -08:00
Robby Russell
0642faaebb Merge pull request #3338 from eripa/chruby_fix
Fix chruby plugin to not complain if chruby is *not* installed
2014-12-20 12:37:18 -08:00
Robby Russell
1849587123 Merge pull request #3352 from benjaoming/virtualenvwrapper_workon_unset
Throw an error message when $WORKON_HOME is not set
2014-12-20 12:37:05 -08:00
Robby Russell
311e65d23b Merge pull request #3397 from peteches/master
Fixed output issues webith websearch plugin.
2014-12-20 12:36:27 -08:00
Robby Russell
a44867e307 Merge pull request #3412 from mcornella/feltnerm-patch-1
Disable sourcing .profile when checking for available updates
2014-12-19 20:31:49 -08:00
Robby Russell
ab712ee2e2 Merge pull request #3424 from bergvandenp/docker_exec
added exec command to docker plugin
2014-12-19 20:30:59 -08:00
Robby Russell
907f99a32d Merge pull request #3303 from iml/brew-update
Remove deprecated brew commands, update core commands
2014-12-19 20:27:54 -08:00
Robby Russell
2c1898f367 Merge pull request #3362 from emarashliev/master
Added Xcode alias for deleting Derived Data.
2014-12-19 20:26:50 -08:00
Robby Russell
e59cbcb0b2 Merge pull request #3372 from bbiao/compatible-with-new-autojump
autojump installed from github has mv the autojump.zsh to $HOME/.autojum...
2014-12-19 20:26:08 -08:00
Robby Russell
c66e474b73 Merge pull request #3409 from unixorn/prevent-variable-clobbering
Add quoting to nvm.sh
2014-12-19 20:21:33 -08:00
Robby Russell
2db1817ed3 Merge pull request #3410 from Superbil/master
Fix aws.plugins.zsh check rule
2014-12-19 20:20:21 -08:00
Robby Russell
cd845a1ffd Merge pull request #3417 from stof/patch-1
Update the list of Heroku Postgres commands
2014-12-19 20:19:26 -08:00
Paul van den Berg
9e5f0f0e9d added exec command to docker plugin 2014-12-18 23:22:48 +01:00
Joe Block
16d0768305 Quote path in case $HOME has a space in it.
I've seen stranger things on OS X, unfortunately.
This reverts commit 1f5cecee4768be192e439a72a873a6cfe8720927.
2014-12-16 13:22:31 -08:00
Christophe Coevoet
f7deb52c47 Update the list of Heroku Postgres commands 2014-12-16 17:35:08 +01:00
Mark Feltner
83553597a1 fix(tools/check_for_upgrade): Don't source profile
Reverts #2296, but mostly #1883.

There is no need to source ~/.profile when this script is read. oh-my-zsh writes no configuration data in ~/.profile.

If the user wishes to use data within ~/.profile, then they should source it in another place.

Fixes #2315
2014-12-15 18:45:50 +01:00
Superbil
149d8d5d4f Fix aws.plugins.zsh check rule
Check _aws_zsh_completer_path had exist or not
2014-12-16 00:51:22 +08:00
Robby Russell
1978a0923c Revert PR #3359 as this is breaking stuff for many folks. Need to rethink how we handle system defaults differently on this 2014-12-15 08:11:04 -08:00
ekaragodin
00ff1bbd1c Updated Yii2 command completion 2014-12-15 21:37:38 +06:00
David Feinberg
02d647773a added node- before node version for consistency 2014-12-14 18:28:06 -08:00
David Feinberg
77da20997e mira theme shows active node, ruby and java versions 2014-12-14 18:19:00 -08:00
ekaragodin
7488e9b510 Add yii2 readme 2014-12-15 08:18:18 +06:00
Robby Russell
0a96bb1577 Merge pull request #2094 from frantzmiccoli/phing-fix
Phing plugin improvment
2014-12-14 16:44:06 -08:00
Robby Russell
fe75c968ef Merge pull request #3399 from ryan-robeson/add-itunes-shuffle-command-to-osx-plugin
Add itunes shuffle command to OSX plugin.
2014-12-14 16:35:45 -08:00