Commit graph

2,376 commits

Author SHA1 Message Date
Frank Behrens
9e2dfc661b extract plugin will unzip *.sublime-package files 2014-11-28 14:37:06 +01:00
r3dDoX
23ae076e3c added prefix/suffix variable for customizability 2014-11-28 14:37:06 +01:00
Sean McCann
4868daabd8 Move aliases to 'custom' section of .zshrc template
By convention, user-specific aliases are kept in each user's .zshrc
file. The .zshrc template provided by oh-my-zsh has an area for example
aliases, though these were being loaded before other aliases in libs, plugins,
and themes. As a result, personal aliases could be overwritten by these
other aliases as they are loaded. To make personal customization easier, the
sample aliases section of the .zshrc template has been moved to the area
dedicated for personal customization. This section of the configuration
is processed after all other items are loaded, preventing personal aliases
and exports from being inadvertently clobbered by oh-my-zsh.
2014-11-28 14:37:06 +01:00
r3dDoX
c22dfffe38 added new function to get number of commits ahead of remote 2014-11-28 14:37:06 +01:00
r3dDoX
ceb7c926f3 replaced hardcoded origin/{branch-name} with @{upstream} which gets the upstream branch since git 1.7.0 2014-11-28 14:37:06 +01:00
pangratz
a9d4ec5ee1 Fix function/alias naming clash between bower and bundle plugin
Since the `bower` plugin specifies a `bi` alias and `bundle` plugin
specifies a `bi` function, there is a name clash when using both
plugins, which results in the message "Can't 'bundle install' outside a
bundled project" when trying to execute `bower`.

This adresses #2486
2014-11-28 14:37:06 +01:00
Simon Courtois
1c72726ddc Ordering nocorrect aliases alphabetically 2014-11-28 14:37:06 +01:00
Simon Courtois
ae27cd70b7 Defining nocorrect aliases only when ENABLE_CORRECTION is "true"
This commit move the nocorrect aliases definition so they're called
only when the user set ENABLE_CORRECTION to "true" to activate commands
autocorrection.
2014-11-28 14:37:06 +01:00
Simon Courtois
5dd366d35f Replacing DISABLE_CORRECTION with ENABLE_CORRECTION in zshrc template
Since commands auto-correction must be explicitly enable with
the ENABLE_CORRECTION envvar, this commit replaces the unaccurate
example in the zshrc template.
2014-11-28 14:37:06 +01:00
Mark Feltner
6a33c0f117 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-11-28 14:37:02 +01:00
Brian Hartvigsen
e32fefbfb6 Fix dud alias. Switch --max-depth for just -d
As far as I can tell (tested on Linux & Darwin, BSD man page seems to agree), `-d` is pretty univerally accepted as the depth argument.  So instead of doing a test, we can just use -d and call it a day.
2014-11-28 14:37:02 +01:00
Brian Hartvigsen
7d98fb6209 This is already done in lib/theme-and-appearance.zsh and supports Darwin/BSD/etc 2014-11-28 14:37:02 +01:00
Adam Luikart
c4ed8b42da Write the update file even if CLOBBER is unset. 2014-11-28 14:37:02 +01:00
Trevor Strieber
c9a5f41f76 Fixing typo. 2014-11-28 14:37:02 +01:00
Tony
0d59d5fb56 Minor markup edits 2014-11-28 14:37:02 +01:00
ncanceill
6fe13cfe7a typo, fixes #1806 2014-11-28 14:37:02 +01:00
Ingo Renner
fe13d43479 Improve consistency, remove dots at end of command descriptions 2014-11-28 14:37:02 +01:00
Ingo Renner
fe95a79f79 [FEATURE] Support vagrant global-status
Vagrant 1.6 introduced the `global-status` command which allows
to get a quick overview of all active Vagrant environments for the
currently logged in user.
2014-11-28 14:37:02 +01:00
Ingo Renner
36319d9b1f [FEATURE] Support Vagrant Cloud commands
Vagrant 1.5 added Vagrant Cloud to share boxes. Some boxes
may be protected, the `login` command allows to access those
protected boxes from Vagrant Cloud.
2014-11-28 14:37:02 +01:00
Ingo Renner
bc6015b54e [FEATURE] Support Vagrant Share
Vagrant 1.5 introduced Vagrant Share to allow remote access to a Vagrant
environment. This adds support for the `share` and `connect` commands.
2014-11-28 14:37:02 +01:00
Ingo Renner
c5b62081e0 [FEATURE] Support Vagrant 1.6 version command
Vagrant 1.6 introduces a couple new commands, including the `version` command.
The `version` command shows the currently installed version information and
also checks for new updates available.
2014-11-28 14:37:02 +01:00
Nicolas Brousse
7eb298ba78 Update brew.plugin.zsh 2014-11-28 14:37:02 +01:00
Javier Tejero
2be20de6ec Fix docker rmi tab completion
This is exactly what happens on tab completion for docker rmi. This commit
fixes that.

```sh
$ docker rmi <hit TAB>
_arguments:comparguments:312: invalid argument: __docker_images
_arguments:comparguments:312: invalid argument: __docker_images
_arguments:comparguments:312: invalid argument: __docker_images
```
2014-11-28 14:37:02 +01:00
Paweł Tomak
f0dcfa8ffd Fix for Python3
In Python3 without universal_newlines set to True
output from Popen was byte-encoded.
2014-11-28 14:37:02 +01:00
Dmitriy
9eeaadbcbb set exclude-dir or exclude grep flags only if available 2014-11-28 14:37:02 +01:00
Marc Cornellà
e183de3999 Use cache folder inside $ZSH, delete with unaliased rm 2014-11-28 14:37:02 +01:00
Benjamin Wong
1ea5a0865c Spelling correction in itunes control function.
Spelling correction in itunes control function.
2014-11-28 14:37:02 +01:00
DeLynn Berry
2a0d45f15b Remove mailcatcher
The mailcatcher gem does not work correctly when executed through Bundler.
2014-11-28 14:37:02 +01:00
Henrik Holm
5d21684632 Correct redirection of output from 'hash'
The intention of the redirection to /dev/null is to hide the output
'hash: no such command: git' since we rely on the exit status.

However, the output goes to stderr, so it's stderr that needs to be
redirected. For completeness, we redirect both stderr and stdout using
'2>&1'.

Example:

  [~]$ hash git > /dev/null
  [~]$ PATH=''
  [~]$ hash git > /dev/null
  hash: no such command: git
  [~]$ hash git > /dev/null 2>&1
  [~]$
2014-11-28 14:37:02 +01:00
Stanislav Schultz
092ec04fb9 Add Ruby 2.1.1 support to rvm plugin 2014-11-28 14:37:02 +01:00
Bob Williams
acb6c19686 adding urldecode_json to compliment urlencode_json and updating readme.md; slight tweak to urlencode_json from previous commit 2014-11-28 14:37:01 +01:00
Bob Williams
f560453573 adding urlencode_json and associated README.md details 2014-11-28 14:37:01 +01:00
tcasparro
260732b54b Added git mode support for merging, rebasing, and bisecting
<B> Designates Bisecting
>M< Designates Merging
>R> Designates Rebasing
2014-11-28 14:37:01 +01:00
Bob Maerten
d59d009d2b Matching autocomplete for Docker v0.9.1
Many deprecations since 0.8 and new commands.
2014-11-28 14:37:01 +01:00
Andre Eriksson
83fb3414d0 Fix broken reverse-menu-complete keybinding.
Since e537ee9, the reverse-menu-complete keybinding has no longer been
properly bound (it was accidentally bound to the delete key).

This commit again binds it to shift-tab.
2014-11-28 14:37:01 +01:00
Daniel Farrell
f1404345e6 Simplified gallois RPS1 setup using some helpful scripts 2014-11-28 14:37:01 +01:00
Bob Williams
76b511032c adding the is_json tool and associated readme.md details 2014-11-28 14:37:01 +01:00
Marc Cornellà
2089294b0e Escape % in $CMD variable
Fixes formatting on some rare cases when a percent ends up
in the $CMD variable, like these below:

- When assigning a variable, $CMD ends up with the second parameter;
in this case, $CMD will contain '+%s%N', messing with the syntax:

 $ a=`date +%s%N`

- A function (or command in general) that contains a percent symbol:

 $ to\%() { echo $(( $1 * 100 / $3))\% } # $CMD=to%()
 $ to% 2 of 10 # $CMD=to%
2014-11-28 14:36:58 +01:00
Kevin Bongart
26c97fd35d Add README file to rake-fast plugin 2014-11-28 14:36:58 +01:00
Simon Courtois
a01ae84b0f Allowing path with spaces in pow plugin
This commit allows for paths with spaces to be symlinked
in Pow.

If an application is located in a folder like `/some path/to the/app`
the powit command would fail when it shouldn't. It's not the case
anymore.
2014-11-28 14:36:58 +01:00
Patrick Stadler
64cd0e9809 brew-cask plugin: use spaces instead of tabs 2014-11-28 14:36:58 +01:00
Bob Williams
cd67d8c75b adding support for node 2014-11-28 14:36:58 +01:00
Bob Williams
ffa0907fbd Adds command line aliases useful for dealing with JSON 2014-11-28 14:36:58 +01:00
ncanceill
e25e769882 $ZSH is the OMZ installation folder, not configuration 2014-11-28 14:36:54 +01:00
ncanceill
4f1f165b91 mention $ZSH_CUSTOM as suggested in #2295 2014-11-28 14:36:54 +01:00
ncanceill
a4309442e6 suggest setting $LANG to fix #1286 and fix #1823 2014-11-28 14:36:54 +01:00
Marc Cornellà
200a624c4e Fix export syntax of $GREP_OPTIONS
Fixes #2641, #2642
2014-11-28 14:36:51 +01:00
fred-o
e29f06e752 application completion 2014-11-28 14:36:51 +01:00
fred-o
c95038a628 library completion 2014-11-28 14:36:51 +01:00
fred-o
7bf39bbc51 in hindsight, this is probably a bad idea 2014-11-28 14:36:51 +01:00