Commit Graph

1910 Commits

Author SHA1 Message Date
49b4e675e0 Merge pull request #3547 from martong/vi_mode_trapwinch
Added trapwinch to vi-mode plugin.
2015-02-10 11:20:42 -08:00
0a0a27857e Merge pull request #3413 from mcornella/fix-dircycle-plugin
dircycle plugin: clean and fix logic once and for all
2015-02-10 11:20:08 -08:00
412a92e45e Merge pull request #3141 from muggenhor/sudo-maintain-cursor-pos
sudo: maintain cursor position
2015-02-10 11:18:32 -08:00
6fb866183d Remove composer.json file requirement
This is because we can't be sure which arguments require a json file
and which don't, so the `else' statement will always be difficult to
check for correctness.
2015-02-10 19:32:59 +01:00
ef220f0928 Add aliases for composer global 2015-02-10 19:32:59 +01:00
5f4e8e57da Allow completion for 'composer.phar', not only 'composer'
Use $_comp_command1 for command list generation instead of 'composer':

  `$_comp_command1` contains the command written in the command line.
  This allows us to have a different composer name
2015-02-10 19:32:59 +01:00
0cc3afe277 Fix get command list for recent composer versions 2015-02-10 19:32:59 +01:00
02d75684f3 Force using https in Yandex search engine 2015-02-10 19:32:52 +01:00
e8daf8150e Fix yahoo search URL in web-search plugin 2015-02-10 19:32:52 +01:00
c45885093f Add support for cygwin open in web-search plugin 2015-02-10 19:32:52 +01:00
adaea31ca0 Silence nohup output in web-search plugin 2015-02-10 19:32:52 +01:00
80ba54a94f Add Yandex support to web-search plugin 2015-02-10 19:32:52 +01:00
80d856e165 Clean up web-search plugin logic to allow easier changes 2015-02-10 19:32:52 +01:00
2193135ebc Clean up appearance lib file and redundant colors calls in other files 2015-02-10 19:22:50 +01:00
724143c329 Deletes dot aliases from common-aliases.
They are implemented in lib anyway.
2015-02-10 19:22:39 +01:00
ace98846ea Pushes autoenv code to its plugin.
Sources the activate.sh file or informs the user, that its not
available.
Overriding the cd function, as it was formerly done, is not needed
anymore, activate.sh does this by itself.
2015-02-10 19:22:38 +01:00
282240bf37 Account for iTerm2 sent keys in dircycle plugin 2015-02-10 19:18:15 +01:00
999bab187c Emulate zsh in zlewidgets instead of static setopt command
This way the user can keep their preferred pushd syntax while enabling
us to use a standard syntax in our defined functions.

To explain further, without a clear value on the PUSHD_MINUS option, we
could be changing the +1/-0 values all we want, that some user would
find that it didn't work for him.

We have two options, then:
- Setting a particular value, which was my first approach.
- Using `emulate -L zsh` to ensure all options defined in the function's
  body won't be passed along to the main zsh instance.
  For more info see:
  http://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html#index-emulate
2015-02-10 19:18:15 +01:00
e93fd939ad Run pushd command directly and trigger prompt redraw 2015-02-10 19:18:15 +01:00
5fe22fcbc6 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
13e5afe805 Merge pull request #3164 from nailor/fix-deactivate-bug
virtualenvwrapper: Deactivate only if in virtualenv
2015-02-10 07:28:51 -08:00
811f1f9eb9 Merge pull request #3329 from capeterson/master
Improved ant completion
2015-02-10 07:28:39 -08:00
349493a0b8 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
013b2bffcf 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
7f636ba590 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
fc606d91a0 Added alias for downloading maven dependencies' sources and javadocs 2015-02-07 16:57:53 +00:00
2e0da6864b add chucknorris plugin 2015-02-05 07:43:42 +01:00
7de44dbdb7 Added trapwinch to vi-mode plugin. 2015-02-04 12:56:58 +01:00
431faa924e Creates Ember-cli plugin and Adds its aliases 2015-02-04 15:39:34 +05:30
8cb97d6f22 Add alias for git add --all 2015-02-04 12:24:17 +05:30
8ccfc3d444 Removing 'local' usage to prevent issue when installed with antigen
Error encountered when installed with antigen: "chpwd:2: no such file or directory:".  Solution described in https://github.com/zsh-users/antigen/issues/75
2015-02-02 11:52:07 +13:00
e60458793a 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
550ccca91c Merge pull request #3478 from stephenrjohnson/custom_cache_dir
Allow custom cache dir
2015-01-31 06:23:50 -06:00
147ebd60d9 Merge pull request #3490 from lmartins/master
Fix Plugin commands
2015-01-31 06:09:01 -06:00
c4d3de1ea0 added server:run alias 2015-01-28 14:02:36 +02:00
4533c7a31c [wd] Update to v0.4.1 2015-01-26 00:13:39 +01:00
49549d9558 Update git-hubflow.plugin.zsh 2015-01-20 21:25:07 -05:00
fd3a34844f Update git-flow.plugin.zsh 2015-01-20 21:24:41 -05:00
b2f8764855 Adds completions to wp-cli plugin 2015-01-15 12:55:32 -06:00
3abc2a4375 Fix Plugin commands 2015-01-12 17:26:04 +00:00
3c4998319a Update django.plugin.zsh
activate django plugin on command "django-admin"
2015-01-12 21:57:00 +08:00
5b90092555 Sublime Text plugin: added sst alias for sudo run sublime 2015-01-11 17:52:08 +03:00
f997ed7ed8 Add Fedora support for command-not-found plugin 2015-01-10 15:38:49 +01:00
a55a313328 Add rdms alias to rails plugin 2015-01-09 16:46:02 +03:00
ceb42ecdb6 Update /home/srj/.oh-my-zsh/cache references 2015-01-08 16:38:05 +00:00
833e6f5958 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
8790fa3723 go plugin upgrade for version 1.4 2014-12-30 14:53:31 -08:00
957564ab9f Add completion for httpie 2014-12-27 23:56:57 +08:00
da1ca8876e Merge pull request #3404 from ekaragodin/master
Added Yii2 command completion
2014-12-20 12:40:47 -08:00
0c47d8cfe4 Merge pull request #3146 from typekpb/tmux-aliases
additional tmux aliases
2014-12-20 12:38:43 -08:00