Commit graph

2,348 commits

Author SHA1 Message Date
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
fred-o
b61c2d7d85 completion of targets 2014-11-28 14:36:51 +01:00
fred-o
c2270f02a7 instance and cluster completion 2014-11-28 14:36:50 +01:00
fred-o
ce375a48dc node completion 2014-11-28 14:36:50 +01:00
fred-o
1487020028 help command, node completion 2014-11-28 14:36:50 +01:00
fred-o
a0c3c8a358 added _files values for certain options 2014-11-28 14:36:50 +01:00
fred-o
b71c1c06c8 completion options 2014-11-28 14:36:50 +01:00
fred-o
80c4f4b20a added alias 2014-11-28 14:36:50 +01:00
fred-o
2915834d69 added completions for all known arguments to all known commands 2014-11-28 14:36:47 +01:00
fred-o
07c604b31e apparently, this file must exist for the plugin to load 2014-11-28 14:36:47 +01:00
fred-o
d7216fb432 added completion for all asadmin subcommands 2014-11-28 14:36:47 +01:00
nXqd
b9a2da61c7 avoid VCS folders 2014-11-28 14:36:43 +01:00
Peter Jaros
4b84146e4d Move example plugin to the custom plugins dir. 2014-11-28 14:36:40 +01:00
Derek Wyatt
c540f1bd8a Added an <esc> to the begining of everything. I ran something when I was in insert mode once and all it did was shove !args... into the buffer. <esc> first. 2014-11-28 14:36:40 +01:00
Derek Wyatt
5b06a087e1 Updated the README to include documentation on the postCallVim callout 2014-11-28 14:36:40 +01:00
Derek Wyatt
863123504c Added an optional callout to the end of the interaction function. I put it in to allow me to put the window focus on MacVim / GVim depending on the different OS I happen to be on 2014-11-28 14:36:40 +01:00
Derek Wyatt
e2a6152a7b Fixed: If you callvim on a non-existant file with a relative path, the CWD of the running gvim process is used, and that's not right. We use the PWD explicitly instead, in this case 2014-11-28 14:36:40 +01:00
Derek Wyatt
e8d3c0fab1 A plugin that makes it easier to interact with the (single) running instance of gvim 2014-11-28 14:36:40 +01:00
cmar
a0b28392d0 command to restart pow process 2014-11-28 14:36:37 +01:00
cmar
07a873748f added powed command to list pow urls 2014-11-28 14:36:37 +01:00
Leif Ringstad
1a0497ebbe Plugin: Rake-fast: Support both *nix and Darwin 2014-11-28 14:36:33 +01:00
Phil Eichinger
f7901bb91a New aliases for 'apt-get' and 'aptitude' as they were overwritten by later aliases 2014-11-28 14:36:33 +01:00
Luke Horvat
0986826501 Fixed typos + made wording more consistent in zshrc.zsh-template 2014-11-28 14:36:33 +01:00
Florian Franzen
b9fdd005ec history-substring-search: bindkey now checks if terminfo is available first. 2014-11-28 14:36:33 +01:00
Bob Williams
f402c6118c adding xargs -0 to node aliases 2014-11-28 14:36:33 +01:00
Bob Williams
8572334237 updated readme.md and using tab char for formatting with node 2014-11-28 14:36:33 +01:00
Bob Williams
4e34b85f9d bug fix for node pp_json version 2014-11-28 14:36:33 +01:00
Jan Ehrhardt
8a0a2b1499 Add check for display list equals nil
Emacs returns either a sequence of availbale displays or nil. Checking
nil fixes this script to work as expected.
2014-11-28 14:36:32 +01:00
Daniel Farrell
d6d9f7184a Fixed which output at each new shell creation 2014-11-28 14:36:32 +01:00