Commit Graph

1733 Commits

Author SHA1 Message Date
Robby Russell
6ddd44a341 Merge pull request #3622 from koddsson/notifier-plugin-if-order
Re-order OS detection if..else statement in bgnotify plugin.
2015-02-23 15:14:00 -08:00
Robby Russell
656db4dfac Merge pull request #3623 from uberspot/nmap_feat
Add nmap plugin with some aliases for scan modes
2015-02-23 09:33:06 -08:00
Kristján Oddsson
1308515d1c Re-order OS detection if..else statement.
This patch will re-order the if statements when checking what operating
system the user is running.

This is useful for people that already have a `notify-send` binary in
their $PATH but are running OSX. An example of such requirements is
anyone running `vagrant-notify` is required to have a `notify-send`
binary on their $PATH.

See [link](https://github.com/fgrehm/vagrant-notify#os-x).
2015-02-23 17:25:55 +00:00
uberspot
0dc7b5c049 add nmap plugin with some aliases for scan modes 2015-02-23 19:15:29 +02:00
Robby Russell
31e29e1efb Merge pull request #3625 from tandrup/master
Fixing spaces in title and message given to bgnotify on OS X
2015-02-23 07:30:13 -08:00
Michał Ordon
8b45118f26 Update Grunt plugin to 0.1.2 2015-02-23 11:43:19 +00:00
Mads Mætzke Tandrup
7fc47e7ebc Fixing spaces in title and message given to bgnotify on OS X 2015-02-22 22:14:37 +01:00
Robby Russell
677acc3a8c Merge pull request #3486 from ckesc/master
Sublime Text plugin: sst alias for sudo run sublime
2015-02-22 10:46:44 -08:00
Robby Russell
bd792f09a1 Merge pull request #3444 from lululau/httpie-pr
Add completion for httpie
2015-02-22 10:46:24 -08:00
Robby Russell
9aa11c3bb5 Merge pull request #3458 from rexk/feature/go-plugin-upgrade
go plugin upgrade for version 1.4
2015-02-22 10:45:12 -08:00
Robby Russell
86a41a864d Merge pull request #3480 from dskecse/add-rails-rdms-alias
Add rdms alias to rails plugin
2015-02-22 10:44:00 -08:00
Robby Russell
d28917d53f Merge pull request #1999 from akatov/carton
cask completion plugin
2015-02-22 10:39:53 -08:00
Robby Russell
78cfe75c12 Merge pull request #3301 from t413/master
Background notifications on long-running commands
2015-02-22 10:34:14 -08:00
Robby Russell
43531625ab Merge pull request #2407 from mgalgs/gmt-compdef
Fix gmt compdef
2015-02-22 10:24:39 -08:00
Robby Russell
237304a64c Merge pull request #2346 from zsiciarz/master
Updated cabal plugin with Cabal 1.18-1.20 commands.
2015-02-22 10:24:21 -08:00
Robby Russell
272854367f Merge pull request #3508 from joshtronic/patch-1
Update git-flow.plugin.zsh
2015-02-22 10:23:51 -08:00
Robby Russell
07ebfd84ab Merge pull request #3497 from hsingh23/patch-1
Adds completions to wp-cli plugin
2015-02-22 10:22:55 -08:00
Robby Russell
9c0b643027 Merge pull request #3509 from joshtronic/patch-2
Update git-hubflow.plugin.zsh
2015-02-22 10:18:53 -08:00
Robby Russell
e2fd99a485 Merge pull request #3526 from DariusPHP/master
added server:run alias
2015-02-22 10:17:03 -08:00
Robby Russell
be63e8b776 Merge pull request #3518 from mfaerevaag/master
[wd] Update to v0.4.1
2015-02-22 10:15:08 -08:00
Robby Russell
6809b42b65 Merge pull request #3541 from agios/tmuxinator
Tmuxinator plugin improvements
2015-02-22 10:14:28 -08:00
Robby Russell
983c0c94a1 Merge pull request #3615 from mopsfelder/hgprompt
plugins: mercurial: Update the order prompt vars are displayed
2015-02-22 10:14:05 -08:00
Robby Russell
49a3dd1364 Merge pull request #3608 from idjaw/master
Adding ssh-config to vagrant plugin autocomplete. Was missing
2015-02-22 10:13:47 -08:00
Robby Russell
c4c3d32d60 Merge pull request #3544 from tejasbubane/add-all-alias-in-git-plugin
Add alias for git add --all
2015-02-22 10:13:34 -08:00
Robby Russell
7649c29926 Merge pull request #2009 from akatov/grunt
grunt completion
2015-02-22 10:11:35 -08:00
Robby Russell
9d0a9b8078 Merge pull request #3559 from WarFox/feature/mvn-plugin-src-docs
Added alias for downloading maven dependencies' sources and javadocs
2015-02-22 10:10:32 -08:00
Robby Russell
7c2d84f49d Merge pull request #3569 from avalent/master
Add cab autocompletion to the cabal plugin
2015-02-22 10:09:30 -08:00
Robby Russell
2f23f33067 Merge pull request #3577 from jameswomack/npm_convenience_aliases
Add convenience aliases for installation of npm modules
2015-02-22 10:08:51 -08:00
Robby Russell
e1bcd770b2 Merge pull request #3601 from nextgenthemes/master
Create Ubuntu/Debian/Mint/... plugin, based on Debian plugin
2015-02-22 10:06:57 -08:00
Robby Russell
56bc1c37f5 Merge pull request #3609 from craigp/added_local_hex_to_mix_plugin
Added the 'mix local.hex' command to plugin completions for mix
2015-02-22 10:03:33 -08:00
Robby Russell
43bdea4c2f Removing say() function in perl plugin so that it doesn't overwrite OSX comand line utility. Closes #2562 2015-02-22 09:57:42 -08:00
Robby Russell
ce607d3fcb Adding keystrong return to oascrupt per suggestion by @enzzzy. Fixes #2913. 2015-02-22 09:51:22 -08:00
Robby Russell
6713aef977 Merge branch 'master' of github.com:robbyrussell/oh-my-zsh 2015-02-22 09:29:41 -08:00
Robby Russell
aa16e18644 Updating histoby-substring-search README to instruct user to load plugins via .zshrc. Closes #1832. 2015-02-22 09:29:31 -08:00
Robby Russell
7b71dccbaf Merge pull request #3610 from bderrly/zle-active-check
Verify zle is active before trying to reset-prompt.
2015-02-22 09:17:17 -08:00
Brian Derr
d7837c6041 Shorten the zle check and reset-prompt into one line. 2015-02-21 18:08:54 -08:00
Murilo Opsfelder Araujo
0a99ca0df0 plugins: mercurial: Update the order prompt vars are displayed
If a user sets ZSH_THEME_HG_PROMPT_* as the following, he ends up with
%{$reset_color%} resetting the bold style of last character ")" because
_SUFFIX was expanded before calling hg_dirty():

    ZSH_THEME_HG_PROMPT_PREFIX="%{$fg_bold[blue]%}hg:(%{$fg[white]%}"
    ZSH_THEME_HG_PROMPT_SUFFIX="%{$reset_color%}"
    ZSH_THEME_HG_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
    ZSH_THEME_HG_PROMPT_CLEAN="%{$fg[blue]%})"

With this patch, the variable ZSH_THEME_HG_PROMPT_SUFFIX is lastly
displayed, following the same order as in git_prompt_info(),
i.e. <prefix><dirty><suffix>.
2015-02-20 16:12:39 -02:00
Robby Russell
77140a2ea7 Merge pull request #3603 from alx741/master
Plugins: vi-mode
2015-02-19 22:02:38 -08:00
Brian Derr
bc8abe5ea2 Verify zle is active before trying to reset-prompt. 2015-02-19 13:30:50 -08:00
nextgenthemes
aff01d920e Update readme.md 2015-02-19 19:43:31 +01:00
nextgenthemes
393676387a Markdown bolds to capital letters 2015-02-19 19:37:54 +01:00
Craig Paterson
8ce1245770 added the 'mix local.hex' command to plugin completions 2015-02-19 17:55:32 +02:00
wajdi
e10470f6a3 Adding ssh-config to vagrant plugin autocomplete. Was missing 2015-02-19 10:34:51 -05:00
Robby Russell
223197b4e0 Merge pull request #3533 from maff/chucknorris-fortune
Chuck Norris fortune
2015-02-18 15:10:41 -08:00
Robby Russell
8d561aa008 Merge pull request #3573 from mcornella/fix-taskwarrior-first-completion
Fix first-tab completion in task command
2015-02-18 15:09:09 -08:00
Robby Russell
dcc08b0dc0 Merge pull request #3545 from BilalBudhani/ember-cli-plugin
Plugin for Ember-cli
2015-02-18 15:07:39 -08:00
Robby Russell
9a58e8dab7 Merge pull request #3578 from ctroncoso/patch-1
docker containers based on defined names
2015-02-18 15:07:02 -08:00
Robby Russell
67fff6026d Merge pull request #3589 from miguxbe/master
Add initial JHBuild plugin support
2015-02-18 15:05:04 -08:00
Robby Russell
84a318be87 Merge pull request #3590 from voronkovich/master
Fix composer completion: "\s" is a gawk-specific regexp operator.
2015-02-18 15:04:24 -08:00
Robby Russell
5b429b6e48 Merge pull request #3596 from kossmac/master
added stats command to docker plugin
2015-02-18 15:04:10 -08:00
Daniel Campoverde [alx741]
33900dfd32 PLUGINS: vi-mode: allow ctrl-h, ctrl-?, ctrl-w for char and word deletion
Allow ctrl-h, ctrl-?, ctrl-w after changes in normal mode.
2015-02-18 14:29:44 -05:00
Daniel Campoverde [alx741]
099246dd9e PLUGINS: vi-mode: allow ctrl-p, ctrl-n for history navigation
Allow ctrl-p, ctrl-n for history navigation while in insert mode.
2015-02-18 14:25:15 -05:00
nextgenthemes
d8b9932138 Update readme.md 2015-02-17 07:49:55 +01:00
nextgenthemes
660eeb19c7 Update readme.md 2015-02-17 07:48:01 +01:00
nextgenthemes
3120b9ad45 Update readme.md 2015-02-17 07:36:23 +01:00
nextgenthemes
f50b3fe710 Create ubuntu plugin, based on debian plugin.
* Easy to remember aliases
* Simplified
* Added aar() function for `sudo apt-add-repository xxxx && apt-get upgrade && apt-get install xxxx`
2015-02-17 07:33:45 +01:00
nextgenthemes
6b29aab37a Create readme.md 2015-02-17 07:27:38 +01:00
Oleg Voronkovich
8b5950b812 Fix: "\s" is a gawk-specific regexp operator. 2015-02-17 01:24:21 +03:00
Karsten Kosmala
cd36deda23 added stats command to docker plugin 2015-02-16 12:04:37 +01:00
pi0
7c73a3aea4 Laravel 5 support 2015-02-16 11:58:54 +03:30
Alexandros Giouzenis
b39dbec7e9 Fix tmuxinator completion for symlinked dirs
Tmuxinator start command can be ommited
Fix #2812
2015-02-15 18:29:26 +02:00
Miguel Vaello Martínez
ec9525b94e Add initial JHBuild plugin support
This is a bunch of alias for the JHBuild tool.
A well known tool in the GNOME dev project.
2015-02-15 15:39:50 +01:00
Marc Cornellà
4b20bfe0ee Fix first-tab completion in task command
This is done by calling `_task` at the end of the _task completion file,
as is standard in completion files.
2015-02-13 17:29:44 +01:00
ctroncoso
68955f17ad docker containers based on defined names
docker container autocomplete listing uses containers ID instead of names.
Most users identify their containers by name. ID is only needed and used on a dynamic environment more suited in scripts.
2015-02-13 09:49:54 -03:00
James Womack
6967393fe6 Add convenience aliases for installation of npm modules 2015-02-12 23:19:43 -08:00
Neal
f1d12c598b Add .ipsw to the extract plugin. 2015-02-11 16:48:31 -08:00
Ashley Valent
3b6a695b60 Merge branch 'master' of github.com:avalent/oh-my-zsh 2015-02-11 11:22:15 +11:00
Ashley Valent
3ba10ad0a2 Added cab autocompletion to the cabal plugin.
cab is a wrapper for ghc-pkg and cabal that provides some nice features
like listing outdated packages.
See https://hackage.haskell.org/package/cab for more details on the cab
program.
2015-02-11 11:19:42 +11:00
Marc Cornellà
732c7b8070 Simplify adding workon_cwd to chpwd hook 2015-02-10 20:32:52 +01:00
Marc Cornellà
b62911660d Organize error checking in virtualenwrapper plugin 2015-02-10 20:32:52 +01:00
Brandon Sandrowicz
4161aa4f9d Fixing virtualenvwrapper plugin for Ubuntu (and Debian)
Ubuntu and Debian store the system-installed virtualenvwrapper in
/etc/bash_completion.d/virtualenvwrapper, so that it gets automatically sourced
at startup in Bash. By not putting it somewhere in $PATH, they end up excluding
others (e.g. Zsh) that might want to use that file. Oops!

The virtualenvwrapper plugin should account for this so that Ubuntu (or Debian)
users don't end up with this message:

zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh. Please install with `pip install virtualenvwrapper`.

even when they have a virtualenvwrapper installed to a known location.
2015-02-10 20:32:52 +01:00
Robby Russell
8830f65c4d Merge pull request #3467 from mcornella/fix-composer-plugin
[Plugin composer] Multiple fixes
2015-02-10 11:22:40 -08:00
Robby Russell
f0bbd308fe Merge pull request #3443 from mcornella/better-web-search-plugin
Refactor and improve web-search plugin
2015-02-10 11:22:25 -08:00
Robby Russell
9b8e88d5ac Merge pull request #3483 from ai/fedora-not-found
Add Fedora support for command-not-found plugin
2015-02-10 11:21:36 -08:00
Robby Russell
52177162f7 Merge pull request #3479 from faceleg/patch-1
Removing 'local' usage to prevent issue when installed with antigen
2015-02-10 11:20:52 -08:00
Robby Russell
49b4e675e0 Merge pull request #3547 from martong/vi_mode_trapwinch
Added trapwinch to vi-mode plugin.
2015-02-10 11:20:42 -08:00
Robby Russell
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
Robby Russell
412a92e45e Merge pull request #3141 from muggenhor/sudo-maintain-cursor-pos
sudo: maintain cursor position
2015-02-10 11:18:32 -08:00
Marc Cornellà
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
Maxime Fabre
ef220f0928 Add aliases for composer global 2015-02-10 19:32:59 +01:00
Andrey Janzen
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
Julien Pepy
0cc3afe277 Fix get command list for recent composer versions 2015-02-10 19:32:59 +01:00
Marc Cornellà
02d75684f3 Force using https in Yandex search engine 2015-02-10 19:32:52 +01:00
Marc Cornellà
e8daf8150e Fix yahoo search URL in web-search plugin 2015-02-10 19:32:52 +01:00
Marc Cornellà
c45885093f Add support for cygwin open in web-search plugin 2015-02-10 19:32:52 +01:00
Marc Cornellà
adaea31ca0 Silence nohup output in web-search plugin 2015-02-10 19:32:52 +01:00
Marc Cornellà
80ba54a94f Add Yandex support to web-search plugin 2015-02-10 19:32:52 +01:00
Marc Cornellà
80d856e165 Clean up web-search plugin logic to allow easier changes 2015-02-10 19:32:52 +01:00
Marc Cornellà
2193135ebc Clean up appearance lib file and redundant colors calls in other files 2015-02-10 19:22:50 +01:00
LFDM
724143c329 Deletes dot aliases from common-aliases.
They are implemented in lib anyway.
2015-02-10 19:22:39 +01:00
LFDM
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
Marc Cornellà
282240bf37 Account for iTerm2 sent keys in dircycle plugin 2015-02-10 19:18:15 +01:00
Marc Cornellà
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
Marc Cornellà
e93fd939ad Run pushd command directly and trigger prompt redraw 2015-02-10 19:18:15 +01:00
Marc Cornellà
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
Robby Russell
13e5afe805 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
811f1f9eb9 Merge pull request #3329 from capeterson/master
Improved ant completion
2015-02-10 07:28:39 -08:00
Chris Peterson
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
Chris Peterson
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
Chris Peterson
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