1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 22:00:08 +00:00
Commit graph

2361 commits

Author SHA1 Message Date
Marc Cornellà
8648873887 Add Droplr README 2016-09-02 20:26:14 +02:00
Fabio Fernandes
1af4e9c521 Add Droplr plugin 2016-09-02 20:26:14 +02:00
kenleytomlin
03e7f93ec7 Update README 2016-08-30 08:58:31 +01:00
kenleytomlin
a93bb4e695 Update the docker completion script with the official docker zsh
completion script
2016-08-30 08:54:47 +01:00
Marc Cornellà
abf73bb626 rake-fast: change variable name from $path' to $file'
This solves a problem of using the variable name `$path' which then
smashes the environment variable `$PATH' and messes up the session.

See https://github.com/robbyrussell/oh-my-zsh/pull/5343#issuecomment-243043098
2016-08-29 09:43:08 +02:00
Marc Cornellà
59fdb2b505 Reword rake-fast README, add lib/tasks information 2016-08-29 08:28:27 +02:00
Marc Cornellà
81ca3182a1 Fix syntax and formatting of rake-fast plugin 2016-08-29 08:28:27 +02:00
Aleksey Ivanov
2277967ecf Fix _tasks_changed algorithm in rake-fast plugin 2016-08-29 08:28:27 +02:00
Rory Hardy
2ab67382e7 Added perms plugin (#1752)
* Added perms plugin

* HTTPS -> HTTP for comment URL

* Added a README

* Updated TOF comment

* Pulled in updates by apjanke with minor tweaks
2016-08-26 22:05:33 +02:00
Kevin Ndung'u
deadc369bf Disable zsh file globbing when running pip (#5348) 2016-08-26 21:41:16 +02:00
Marc Cornellà
cf4da1b7ac Add README to cask plugin 2016-08-25 18:33:15 +02:00
Marc Cornellà
a7e60e4a93 Style fixes and shorter command lookup 2016-08-25 18:32:01 +02:00
Andrew Janke
e1e3acc722 cask: check for Homebrew path for completion file 2016-08-25 03:22:07 +02:00
Marc Cornellà
04dd97783e Add README to tig plugin 2016-08-24 21:28:49 +02:00
Steffen Tröster
bf79e1ceac adding tig plugin for oh-my-zsh 2016-08-24 21:28:49 +02:00
Multilul
6e33095a7d iTerm2 v3 tab commands fixes (#5336)
Fixes the "syntax error: expected line end ..." (-2741) when using the tab, split_tab and vsplit_tab commands in iTerm2 v3
2016-08-24 21:15:12 +02:00
Ivan Eisenberg
cbd9d0403e Added documentation for undocumented OSX plugin commands (#5338)
* updated OSX plugin docs
2016-08-24 20:02:27 +02:00
Marc Cornellà
b90c8944b4 archlinux: fix pacmanallkeys URL, make curl silent
Also make all functions local as to not spill variables into the
global namespace.
2016-08-24 08:51:06 +02:00
Marc Cornellà
98ea6414d8 archlinux: reword and simplify README 2016-08-24 08:48:03 +02:00
Marc Cornellà
65f16fb64b archlinux: remove comments, format functions better 2016-08-24 08:47:52 +02:00
Marc Cornellà
4f15bd15e5 Properly fix npm completion source
Problem introduced in 136a834.
2016-08-24 00:13:24 +02:00
Marc Cornellà
136a83433a npm: only load completion if npm exists 2016-08-23 09:31:29 +02:00
Bjørn Madsen
3b8d0ad9d0 archlinux: Update yasu alias
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-08-23 01:51:29 +02:00
Marc Cornellà
251bc2d380 dircycle: keep switch until a directory is found
This fixes the use case where a directory in the dir stack
doesn't exist anymore, so the keystroke doesn't appear to
do anything.

It will keep trying to switch to the n-est directory in the
stack until it founds an available directory or the dirstack
has no more directories to switch to.
2016-08-22 16:57:10 +02:00
Philipp Wahala
7c1ca0e4d8 Create and cache npm completion on first run
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-08-22 16:17:34 +02:00
Shubham Chaudhary
4b9772fffe Add more go aliases (#5259)
*  Also gfa conflicts with git shortcut
2016-08-21 20:06:47 +02:00
Simon
b9c3e862c7 Add alias for checking out develop branch (#5307) 2016-08-21 19:46:37 +02:00
Marc Cornellà
774c4eca6f Revert "Fix pj() function when no project has been specified"
This reverts commit 7d298a3059.
2016-08-21 00:09:59 +02:00
Piotr Gaczkowski
24ac1aa348 Clobber ssh environment regardless of setopt (#5322) 2016-08-21 00:02:58 +02:00
Marc Cornellà
76821f506c Rename gh alias (git help) to ghh
This conflicts with several tools, including NodeGH [1] and
scm_breeze [2].

[1] https://github.com/robbyrussell/oh-my-zsh/issues/5313
[2] https://github.com/robbyrussell/oh-my-zsh/issues/5321

Related: #5130
2016-08-20 23:53:12 +02:00
Emmanuel Isaac
9981214437 Add git alias to clear entire stash (#5306)
Using the "gstc" alias runs "git stash clear"
that clears every stash index
2016-08-18 09:22:21 +02:00
Marc Cornellà
66179bdab8 Fix git-flow README
- Fix "installation" information
- Add links to github project
- Transform list of aliases into table with descriptions
2016-08-17 22:39:41 +02:00
Fumseck
0615dfe32c Add alias and README to git-flow plugin (#5129) 2016-08-17 22:26:13 +02:00
Marc Cornellà
bec53135e4 Fix shwordsplit bug when a basedir contains spaces
The `shwordsplit` option affects all variables and we only need to split
the `$EDITOR` variable. Because of that, using `${=spec}` is a much better
alternative.

More info at
http://zsh.sourceforge.net/Doc/Release/Expansion.html#index-SH_005fWORD_005fSPLIT_002c-toggle
2016-08-16 08:32:43 +02:00
Marc Cornellà
7d298a3059 Fix pj() function when no project has been specified 2016-08-16 08:32:43 +02:00
Marc Cornellà
7f8851f52f Refactor pj function
- Use `emulate -L zsh` to make all variables local.

- Use `shwordsplit` to interpret `$cmd` spaces correctly.

- Rename `$project` and `$file` variables to the more appropriate `$basedir`
  and `$project`.
2016-08-16 08:32:43 +02:00
Marc Cornellà
c9c11d605f Fix _pj completion function
- `$PROJECT_PATHS/*` wasn't working correctly. You have to iterate over
  its elements in order to use globbing with it.

- The `$projects:t` line wasn't necessary if we used `compadd`.

- `compadd` better supports destructuring an array with spaces in some
  of its elements.
2016-08-16 08:32:43 +02:00
Marc Cornellà
26bef0942b Add Readme to pj plugin 2016-08-16 08:32:43 +02:00
Marc Cornellà
525ee50815 Clean up comments in pj plugin file and reorganise 2016-08-16 08:32:43 +02:00
Thiago Leite Luiz
75f2f4e027 Adding alias to rake db:schema:load command. (#5281) 2016-08-14 18:01:13 -07:00
Peter Han
073ea01cce Create an alias to open up sublime project (#5258)
* Adding an alias to open up the sublime project

* README update for stp command
2016-08-14 18:00:19 -07:00
Dzianis Dashkevich
95371afdd8 Add gcpa and gcpc aliases to git plugin (#5271) 2016-08-14 17:58:11 -07:00
Ahmad Awais
5d6c350166 Enhancement: Show/Hide OSX hidden files 💯 (#5275) 2016-08-14 17:55:02 -07:00
naegi
341e83f6f2 Plugin : Sudo - Add support of sudoedit (#5035)
* Add sudoedit support

* change describtion of sudo plugin
2016-08-14 17:45:00 -07:00
$ea
40a9d9cb91 plugins/urltools: add suport for python 3 (#5039)
Python 3!!!!
2016-08-14 17:43:23 -07:00
Robby Russell
b96a5877aa #5130 resolving conflict in git plugin for gh 2016-08-14 17:39:27 -07:00
Patrick Stadler
f19b6b24d3 add kubectl plugin (#5298) 2016-08-14 17:30:55 -07:00
Aleksey Ivanov
51c10783e1 refresh .rake_tasks when lib/tasks changed (#5111) 2016-08-13 20:47:43 +02:00
Daniel Grove
906a7731af Add tmux attach -d alias (#5285) 2016-08-12 20:50:09 -07:00
Aaron Decker
0181fe4970 add npm aliases (#5290) 2016-08-12 20:49:42 -07:00
Simen Bekkhus
ae21102030 (git): Add gpsup alias (#5287) 2016-08-11 02:47:54 +02:00
Shiv Venkatasubrahmanyam
c09323098a Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux) (#5262)
* Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux)

* Add a README
2016-08-11 02:44:00 +02:00
Kyle Scully
a9428b137f added mix autocompletion support for phoenix (#4967) 2016-08-11 02:28:56 +02:00
Dominic Motuka
4505a438e4 update alias of get a list of packages installed locally (#5276) 2016-08-11 02:14:52 +02:00
Luke Childs
a7de0fabd7 nvm plugin improvements (#5265)
* Export $NVM_DIR if it doesn't exist and use it when looking for nvm
* Use $NVM_DIR when looking for nvm for completion
* Use $NVM_DIR when looking for nvm in nvm_prompt_info
2016-08-07 19:36:44 +02:00
Marc Cornellà
7654b16b39 [git plugin] Fix indentation and organise aliases 2016-08-07 18:30:57 +02:00
Cédric Malard
f5537241a4 Fix gbda alias to support color.ui = always + exclude dev branches (#4304)
* Fix gbda alias to support git config color.ui = always
* Update gbda alias to exclude develop and dev branches
2016-08-01 18:16:54 +02:00
nklmish
508b80c1e1 support for startpage search engine in web-search plugin (#5245) 2016-08-01 18:05:01 +02:00
Julien Dubreuil
f4013053d3 Updated _docker-compose to the latest version (from 0.1.0 to 1.5.0). (#5215)
Also fixed formatting of markdown URL in README.
2016-07-19 00:24:12 +02:00
soredake
eb244d9ec0 Update emacs plugin. (#5201)
- Updated minimal version from 23 to 24.
- Added new aliases that fix unexpected close with -nw option.
- Removed some old aliases.
- Fixed line that detects open frames.
2016-07-19 00:20:59 +02:00
Paweł Lenart
c51823c04e Remove warning lines from phing completion
Remove "Warning:" lines from phing targets list. Warning lines are
returned by phing when a target has no tasks or dependencies.

# Conflicts:
#	plugins/phing/phing.plugin.zsh
2016-07-18 14:17:43 -05:00
Jesse Donat
bfbfef9fcf Cleans up phing plugin. 2016-07-15 14:30:09 -05:00
Marc Cornellà
dc0a884ea7 Rename getgb plugin to gb 2016-07-04 22:34:41 +02:00
Marc Cornellà
cab6359173 Rename gb completion file to more conventional _gb 2016-07-04 22:34:38 +02:00
Marc Cornellà
a29f8f7659 Fix formatting of gb plugin completion 2016-07-03 23:20:30 +02:00
Marc Cornellà
d0ea3f22b1 Add more information to the README 2016-07-03 23:20:30 +02:00
Henrik Johansson
57a689ffd5 Add README to gb plugin 2016-07-02 10:18:18 +02:00
Henrik Johansson
af1ee2b994 Add plugin for Gb completion (http://getgb.io) 2016-07-02 01:04:16 +02:00
Clemens Gruber
7fabc8bca4 bundler plugin: Simplify retrieval of cpu count on OSX (#5180)
Calling awk is not necessary here, sysctl has the -n flag to print the value.

Signed-off-by: Clemens Gruber <clemensgru@gmail.com>
2016-06-21 01:31:13 +02:00
Marc Cornellà
c62442f999 Fix gfg function completion definition
Related: #5179
2016-06-21 01:06:21 +02:00
Marc Cornellà
9a61336d33 Fix man-preview completion definition
Related: #5179
2016-06-20 22:19:02 +02:00
hjpotter92
909fcef046 Fix issue with dash as the default /bin/sh script executing program. (#5177)
* `function` keyword removed
 * Fixup the `if` statement and operators
2016-06-20 21:15:55 +02:00
psprint
d012402dad znt: update to v2.2.1 (#5174) 2016-06-18 11:48:21 +02:00
Jordan Gwyn
d7c06131a2 emacs plugin tweak to open buffer from stdin (#5126) 2016-06-17 12:12:59 +02:00
Marc Cornellà
b1561c662b Update taskwarrior completion to 2.5.1 (#5171) 2016-06-17 11:43:08 +02:00
Marc Cornellà
46c0d9590d Add README for OSX plugin and refactor plugin file 2016-06-16 00:23:09 +02:00
mssalvatore
137a554e48 Open finder to PWD - part 2 (#5165)
* Modifies ofd to use alias to open_command instead of shell function with AppleScript
2016-06-16 00:03:37 +02:00
mssalvatore
623ea23818 Add ofd() to OSX plugin to open finder on current directory (#5164)
* Add ofd() to OSX plugin to open finder on current directory

* Change `pwd` to $PWD in osx.plugin.zsh
  Suggested by mcornella
2016-06-15 23:17:03 +02:00
intsilence
3f2dd80773 add 'mvn clean install -DskipTests --offline' alias to speed up maven compile (#5153)
* add 'mvn clean install -DskipTests --offline' to speed up maven compile

* update maven plugin README
2016-06-15 05:42:48 +02:00
Christian Wolff
514ef60704 Replace _kitchen completion with the version from zsh-users (#5011) 2016-06-14 20:32:10 +02:00
kierandoonan
80cac85419 Fix: Plugin knife: Add relative local path for commands which upload files (#4240)
* Added autocomplete support for local knife file uploads

* Added option to allow for relative path resolution for cookbooks

* Updated _chef_root function to use directory:h
2016-06-08 17:27:51 +02:00
Ben Cole
2d7a451e0e Add list-timers to systemd user commands (#5099)
This is useful for listing "cron like" systemd jobs
2016-06-05 22:43:59 -07:00
Bilal Budhani
deb992b8aa Adds ReactNative plugin 📱 (#5018) 2016-06-06 01:09:42 +02:00
Ivan Mironov
dc222704df Fix arcanist aliases (#5110)
* Fix arc cover alias

* Fix arc pacth alias
2016-06-01 12:23:20 +02:00
debbbbie
e1e549ca50 add plugin react-native (#4606) 2016-05-31 12:41:45 +02:00
wangzengdi
5fa4d9d760 add alias gh=git help 2016-05-31 09:57:36 +08:00
Marc Cornellà
9e8f417dab Merge pull request #4729 from sachin21/update_rake_command_in_rails_plugin
Support bundler
2016-05-30 15:33:55 +02:00
Victor Torres
c195189231 Use default branch on recently created Mercurial repository. (#4985)
After `hg init` command, sometimes Mercurial does not create `.hg/branch` file so we'll use 'default' as fallback, which is the master branch in Mercurial repositories.

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-05-29 11:25:17 +02:00
Alex Light
73cca94322 Add zsh completion plugin for rustc (#3159) 2016-05-28 00:38:41 +02:00
Wasif Hasan Baig
bdc82114d0 Changd alias gsta='git stash' to alias gsta='git stash save'. 2016-05-26 10:26:01 -07:00
Mateusz Jaje
1e90f3618f added assembly alias (#5107) 2016-05-23 09:43:15 -07:00
Marc Cornellà
87cbf3fcf1 Fix styling in cakephp3 completion 2016-05-23 12:33:17 +02:00
Draniu
9a0f9d7e8b Better cake3 completion 2016-05-23 12:30:17 +02:00
Alexander Berezovsky
9ad9ac69a6 Change vim command to $EDITOR for consistency (#5063) 2016-05-21 17:52:11 -07:00
jordantwombly
670a470a85 fixed bower completion error from issue #2694 (#5056) 2016-05-21 17:51:48 -07:00
Grant Regimbal
f2b1be0dda vagrant snapshot (#5032) 2016-05-21 17:51:30 -07:00
Ivan Mironov
c2168d741f Arcanist plugin (#5106)
* Add initial list of aliases

* Add lint and diff aliases

* Remove usage section
2016-05-21 17:47:55 -07:00
Marc Cornellà
970f11d1c4 Merge pull request #5104 from felipec/fc/gitfast
gitfast: update to the latest upstream Git and a couple of fixes
2016-05-21 17:12:04 +02:00
Felipe Contreras
36e29fbc19 completion: zsh: improve main function selection
Sometimes we want to use the function directly (e.g. _git_checkout), for
example when zsh has the option 'complete_aliases', this way, we can do
something like:

  compdef _git gco=git_checkout

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:53:47 -05:00
Felipe Contreras
079fef48df gitfast: fix the prompt colour
We can add colour in Zsh without the need of pcmode.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:53:40 -05:00