1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 02:20:09 +00:00
Commit graph

2532 commits

Author SHA1 Message Date
Henrik Holm
f46d06dae1 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-03-30 10:34:13 -04:00
Robby Russell
70dfb91b98 Merge pull request #2663 from bobmaerten/docker-autocomplete-updates
Docker autocomplete plugin is not up to date with recent versions.
2014-03-27 21:33:49 -07:00
Robby Russell
fe73f8d5b1 Merge pull request #2651 from jehrhardt/fix-emacs
Fix Emacs plugin
2014-03-27 21:32:58 -07:00
Robby Russell
175310ae27 Merge pull request #2661 from mcornella/fix_title_tab_percent
Fix escaping of $CMD of automatic title
2014-03-27 21:31:04 -07:00
Robby Russell
ae0c6507e4 Merge pull request #2659 from simonc/allowing-pow-path-with-spaces
Allowing path with spaces in pow plugin
2014-03-27 21:30:38 -07:00
Robby Russell
861d380aa3 Merge pull request #2658 from leifcr/rake-fast-issue
Plugin: Rake-fast: Support both *nix and Darwin
2014-03-27 21:29:36 -07:00
Robby Russell
27c28a94af Merge pull request #2647 from bobwilliams/master
Adding a README.md for plugins/jsontools
2014-03-27 21:22:03 -07:00
Robby Russell
78967b604d Merge pull request #2656 from philenotfound/master
New aliases for 'apt-get' and 'aptitude' as they were overwritten by lat...
2014-03-27 21:21:24 -07:00
Robby Russell
a6b9597373 Merge pull request #2652 from lukehorvat/patch-1
Fixed typos + made wording more consistent in zshrc.zsh-template
2014-03-27 21:19:42 -07:00
Robby Russell
a5f6f72b66 Merge pull request #2660 from KevinBongart/add-readme-to-rake-fast
Add README file to rake-fast plugin
2014-03-27 21:18:28 -07:00
Robby Russell
9c1241a680 Merge pull request #2662 from aeriksson/master
Fix broken reverse-menu-complete keybinding.
2014-03-27 21:18:02 -07:00
Bob Williams
400643ff5b adding urldecode_json to compliment urlencode_json and updating readme.md; slight tweak to urlencode_json from previous commit 2014-03-27 10:34:54 -04:00
Bob Williams
0605d53fa7 adding urlencode_json and associated README.md details 2014-03-26 18:47:57 -04:00
Bob Maerten
76e1edf31f Matching autocomplete for Docker v0.9.1
Many deprecations since 0.8 and new commands.
2014-03-26 10:40:46 +01:00
Andre Eriksson
9650861e56 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-03-26 15:12:39 +09:00
Bob Williams
982b534ce8 adding the is_json tool and associated readme.md details 2014-03-25 16:20:25 -04:00
Marc Cornellà
5137e0e509 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-03-25 21:14:20 +01:00
Kevin Bongart
7b08f494e3 Add README file to rake-fast plugin 2014-03-25 12:38:02 -04:00
Simon Courtois
015b742153 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-03-25 17:16:20 +01:00
Phil Eichinger
aec73f6cb1 Merge branch 'master' of github.com:philenotfound/oh-my-zsh 2014-03-25 16:48:15 +01:00
Phil Eichinger
44467877a8 New aliases for 'apt-get' and 'aptitude' as they were overwritten by later aliases 2014-03-25 16:47:58 +01:00
Bob Williams
64bb1a255a adding support for node 2014-03-25 16:47:58 +01:00
Bob Williams
a3b357abd8 Adds command line aliases useful for dealing with JSON 2014-03-25 16:47:58 +01:00
LFDM
94a5cc5c63 Updates spectrum.zsh 2014-03-25 16:47:58 +01:00
ncanceill
732bca071e $ZSH is the OMZ installation folder, not configuration 2014-03-25 16:47:58 +01:00
ncanceill
2697a18257 mention $ZSH_CUSTOM as suggested in #2295 2014-03-25 16:47:58 +01:00
ncanceill
ffd5cb20ee suggest setting $LANG to fix #1286 and fix #1823 2014-03-25 16:47:58 +01:00
Marc Cornellà
c0e3c553bc Fix export syntax of $GREP_OPTIONS
Fixes #2641, #2642
2014-03-25 16:47:58 +01:00
cybozuty
c1ada7a938 Rendering the 'vagrant box (remove|repackage)' completion code independant of Vagrant implementation details. 2014-03-25 16:47:58 +01:00
fred-o
8194aa9554 application completion 2014-03-25 16:47:58 +01:00
fred-o
bc02c28b73 library completion 2014-03-25 16:47:58 +01:00
fred-o
0f32083163 in hindsight, this is probably a bad idea 2014-03-25 16:47:58 +01:00
fred-o
ee3a20a3dc completion of targets 2014-03-25 16:47:58 +01:00
fred-o
fd3d5bfb74 instance and cluster completion 2014-03-25 16:47:58 +01:00
fred-o
6d7d131a3c node completion 2014-03-25 16:47:58 +01:00
fred-o
f88b6bdc51 help command, node completion 2014-03-25 16:47:58 +01:00
fred-o
95f83193da added _files values for certain options 2014-03-25 16:47:58 +01:00
fred-o
9b4cf96ac0 completion options 2014-03-25 16:47:57 +01:00
fred-o
f644d2eb6f added alias 2014-03-25 16:47:57 +01:00
fred-o
4dcdd13009 added completions for all known arguments to all known commands 2014-03-25 16:47:57 +01:00
fred-o
7daf2f4a62 apparently, this file must exist for the plugin to load 2014-03-25 16:47:57 +01:00
fred-o
1988958a1f added completion for all asadmin subcommands 2014-03-25 16:47:57 +01:00
nXqd
d2a765e12d avoid VCS folders 2014-03-25 16:47:57 +01:00
Peter Jaros
d1323edb49 Move example plugin to the custom plugins dir. 2014-03-25 16:47:57 +01:00
William Roe
7a94b76019 Add completion for pip install -r - so that it autocompletes requirements filenames 2014-03-25 16:47:57 +01:00
Derek Wyatt
ee8f9eebb5 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-03-25 16:47:57 +01:00
Derek Wyatt
46c2af396a Updated the README to include documentation on the postCallVim callout 2014-03-25 16:47:57 +01:00
Derek Wyatt
5a81fda42a 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-03-25 16:47:57 +01:00
Derek Wyatt
83071a10e7 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-03-25 16:47:57 +01:00
Derek Wyatt
cdea478f0f A plugin that makes it easier to interact with the (single) running instance of gvim 2014-03-25 16:47:57 +01:00