0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
Commit graph

2870 commits

Author SHA1 Message Date
Marc Cornellà
69e637c355
fasd: use xdg-open in o alias back again
Fixes #6314
2018-09-03 17:13:18 +02:00
Cristian Măgherușan-Stanciu @magheru_san
e416990442 fasd: drop-in replace the autojump j alias (#3860) 2018-09-03 17:09:31 +02:00
Ross Lafferty
0853b74fef jump: fix printf path output (#7105)
Using the `jump` plugin, using the `marks` command will yield this output:
```
$ marks
desktop marks:printf:5: bad option: ->
dotfiles        marks:printf:5: bad option: ->
home    marks:printf:5: bad option: ->
```

the `marks` function uses `printf` with `->` and I believe `-` is used by `printf` for left-justification.  changing this to `-- "->"` seems to render the appropriate output.

```
desktop -> /Users/uname/Desktop
dotfiles        -> /Users/uname/.dotfiles
home    -> /Users/uname
```
2018-09-01 13:37:05 +02:00
Marc Cornellà
9f1ffc64f1
vi-mode: reset-prompt if zle is active (TRAPWINCH)
Fixes zle errors when resizing:

  TRAPWINCH:zle: widgets can only be called when ZLE is active
2018-08-31 21:18:18 +02:00
Fadi Hadzh
dc8811f817 fix nmap vuln category name (#7044) 2018-08-29 23:06:11 +02:00
Serhii Kuts
94df503863 Update kubectl.plugin.zsh (#6636) 2018-08-29 12:01:40 -07:00
Balint Gyapjas
285b540167 vi-mode show indicator on zle-line-init and SIGWINCH (#6449) 2018-08-29 12:00:35 -07:00
Janosch Schwalm
3cd8eaf9bb execute mvnw with "mvn" when mvnw-file is present (#6484)
* executing mvnw, when mvnw-file exists
indriectly enable autocompletion for mvnw

* inform the user :)
2018-08-29 12:00:06 -07:00
Janosch Schwalm
84aa274604 executing gradlew, when gradlew-file exists (#6485) 2018-08-29 11:59:27 -07:00
Konstantin Gribov
2b6434e879 Fixed fwl function in firewalld plugin when sources used (#7011)
`firewall-cmd --get-active-zones` returns something like this:

```
dmz
  sources: ipset:dmz-hosts
public
  interfaces: eth0
```

if zone binding is based on source ips, so strings with `sources: ...` should be excluded along with `interfaces: ...` to get zones list.
2018-08-29 11:57:02 -07:00
Vinod Damle
e7c9bf8d66 kubectl: add alias for kubectl cp (#7068) 2018-08-29 11:56:30 -07:00
Matthew Murphy
8ec0937653 Update golang.plugin.zsh (#6750)
add alias to cd to $GOPATH, $GOPATH/src, $GOPATH/bin
2018-08-29 11:55:23 -07:00
Aiden
5cc6de67bd Update brew.plugin.zsh (#6947)
add aliases for `brew pin` and `brew list --pinned`
2018-08-29 11:53:24 -07:00
Dan O'Brien
39221643b0 Add aliases for kubectl nodes (#7093)
* Add aliases for kubectl nodes

* change to have 'o' at the end.

My teammate noticed there's no namespacing shortcuts either and will be doing a PR on them with kgna.
2018-08-29 11:51:50 -07:00
Kris Kalavantavanich
e93378aacd [plugins/git] Updated git clone alias (#6893)
* Updated git clone alias

`git clone --recursive` has been deprecated in favor of `--recurse-submodules`.  
See: https://stackoverflow.com/questions/3796927
2018-08-29 15:18:20 +02:00
Ryan Stull
2c1100c0e5 Updating 'sbcl' to 'sbcln' (#7095)
Changing 'sbcl' to 'sbcln' so it doesn't collide with 'Steel Bank Common Lisp', a popular lisp implementation.
2018-08-29 15:15:11 +02:00
Franklin Yu
36808ff61e [plugin/chruby] Add "system" to completion list
Detect system Ruby in default PATH, and provide "system" completion if
Ruby is found.
2018-08-23 20:46:23 -04:00
Joel Wallis Jucá
652356b9b9 git: add the git show alias gsh (#5591) 2018-08-23 22:04:42 +02:00
Marc Cornellà
2bb10441da
nyan: deprecate plugin with removal notice
Fixes #6826
2018-08-23 20:28:20 +02:00
jack
314f9dfcb3 github: fix new_gh to force-add .gitignore (#7086) 2018-08-23 20:01:01 +02:00
Marc Cornellà
fceae90219
jenv: fix brew directory search
`brew --prefix jenv` doesn't ensure jenv is installed so we have to recheck if the
bin folder is still there.
2018-08-19 22:33:44 +02:00
Scott Kidder
dc948826b2 ember-cli : Add alias for ember test --serve (#6492) 2018-08-19 22:14:55 +02:00
Rob Loach
0de3b29fd3 composer: Fix bin directory when Composer is not available (#6240)
* Fix for Composer's bin when Composer isn't global

When Composer isn't globally installed, the `composer global` call results in an error. This checks to see if Composer is available before making the call. When Composer isn't available, it will just manually set the directories.

* Fix Composer brackets in global bin directory

* composer: Apply feedback from ricpelo

This applies ricpelo's feedback at https://github.com/robbyrussell/oh-my-zsh/pull/6240#pullrequestreview-64253321

* composer: Fix path check syntax

* composer: test with $commands[] syntax
2018-08-19 21:46:22 +02:00
Sumit Sahrawat
b743ce9224 Add scu-* aliases for 'systemctl --user' commands (#6661) 2018-08-19 21:39:58 +02:00
Marc Cornellà
be65adc6c3
git-extras: update completion (2018-05-24 0f76863) 2018-08-19 21:36:21 +02:00
Marc Cornellà
3edd424af2
jenv: small fix 2018-08-19 19:43:35 +02:00
Marc Cornellà
873dc9cfb8 jenv: update README 2018-08-19 19:41:49 +02:00
Marc Cornellà
3a822bb5fd jenv: refactor and optimize logic 2018-08-19 19:36:46 +02:00
John Burwell
e8b9958926 Add jenv plugin
Initializes jenv and provides the jenv_prompt_info funtion to add
Java version information to prompts.  This function is stubbed in
prompt_info_functions script to allow it to be safely called
regardless of whether or not the jenv plugin is loaded.

It also splits detection of the plugin/versions directory and bin directory
to suppport the way Homebrew splits the jenv bin and data directories
2018-08-19 19:12:24 +02:00
15cm
ff6b4c835b tmux: do not auto-load tmux inside of Emacs/Vim
When Emacs and Vim are launched from outside of an interactive shell,
$TMUX and $STY are not set; check for Emacs and Vim environment
variables instead.
2018-08-18 21:00:43 +02:00
Dennis Hägler
a52a5fb1f4 Remove the white space
The white space is causing an error and bundler cannot find any commands!
2018-08-16 22:41:29 +02:00
Peter Bittner
035d78120c Add Git alias for git diff --staged (#7064) 2018-08-15 19:44:06 +02:00
Marc Cornellà
af1709cfdc
kubectl: use kubectl to define aliases
This prevents conflicts with other utilities named k (see #6408).
2018-08-13 22:07:07 +02:00
Tushar Tiwari
1691cf8a99 Add alias for git add --verbose (#3167)
Add alias `gav='git add -v'`
fixes #6793
2018-08-13 21:11:25 +02:00
Marc Cornellà
f2f078a1bb
pass: update completion (2018-08-03) 2018-08-09 20:17:43 +02:00
Marc Cornellà
052a6dbd16
docker-machine: add official completion
Fixes #6962
2018-08-09 19:24:03 +02:00
Thi
9624ce992e Add shell completion for Swift Package Manager (#7046)
This was generated by the Swift compiler 4.1.2 using the following
command:

swift package completion-tool generate-zsh-script
2018-08-09 19:10:32 +02:00
Alexander Kapshuna
5fbf912093 extract: whl files support (#7045) 2018-08-09 18:16:15 +02:00
Tom Milligan
3a31074d34 Update docker plugin from upstream docker/cli (#7018)
Update `docker` plugin from [docker/cli master](https://github.com/tommilligan/cli/blob/master/contrib/completion/zsh/_docker)

- bugfix for `docker update` autocompletion: https://github.com/docker/cli/pull/1232
- added `scope` subcommand: https://github.com/docker/cli/pull/1227/files
2018-08-09 17:37:47 +02:00
Marc Cornellà
60db5cdb58
tmux: fix invalid syntax on old zsh versions
First reported on f584de5930 (r29984052)
2018-08-09 17:19:40 +02:00
Michal Halenka
44473d785e Add doctl autocompletion (#6501) 2018-08-08 14:12:55 +02:00
Marc Cornellà
91d55dce11
bundler: update README with latest changes 2018-08-08 13:36:27 +02:00
Marc Cornellà
c781d708da dotenv: test and warn of incorrect.env syntax
Fixes #6337
2018-08-08 00:05:34 +02:00
Marc Cornellà
9ecde7f732 dotenv: call function on startup
Fixes #7017
2018-08-07 23:54:07 +02:00
Joseph Richey
8961a3794c plugins/go: Simplify/fix recursive golang format (#7027)
Per the [`go` command specification](https://golang.org/cmd/go/#hdr-Package_lists),
the `...` wildcard matches the empty string. This makes commands like
`go <action> . ./...` unnecessary: they should use `go <action> ./...`.

This also fixes a bug with the `gofa` shortcut, where it would emit an
error if called from a directory containing no go source files (but
having subdirectories that _did_ contain go files).
2018-08-07 22:54:45 +02:00
Jeff Dickey
0cc371181a use official heroku autocomplete (#6919) 2018-08-07 21:41:53 +02:00
Johan Kaving
850975eb78 Add support for ForkLift 3 (#6490)
This adds support for ForkLift 3, which uses a different
application id and also uses a popover instead of a sheet for
entering the directory to go to.

This also improves the handling of different versions of ForkLift,
by first choosing any currently running instance, and if none is
running starting the newest available version.

Fixes #6565.
2018-08-07 21:39:38 +02:00
Marc Cornellà
2991f237ae
bundler: allow aliases in bundle exec
This means that if you have, for example, `alias rs='rails server'`, you can
run `be rs` and have it expanded to `bundle exec rails server`.

Fixes #5818
2018-08-07 21:04:09 +02:00
Janosch Schwalm
19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
Tony Lotts
e934624b32 Add function to search Dash.app (#2557)
* Add function to search Dash

* Pass all arguements instead of just the first

* Adding docset completion with help from @kapeli and [arx]
2018-08-07 18:14:38 +02:00
John Burwell
05713785b0 asdf: add Homebrew and completion support (#6749)
* Modifies the search logic for asdf to include Homebrew when it is
installed. The implementation is adapted from the pyenv plugin.
2018-08-07 18:10:35 +02:00
kapsh
91b771914b extract: check file extension as lowercase (#6158)
Fixes #6157
2018-08-07 00:45:24 +02:00
Marc Cornellà
76d3eedf7f tmux: fix regression after f584de5
Fixes #7041
2018-08-07 00:40:18 +02:00
Marc Cornellà
f584de5930 tmux: refactor and simplify tmux function logic 2018-08-03 22:13:48 +02:00
Andrew Janke
19716a8e3d tmux: refactor
- Consolidates the switch-adding logic for readability.
- Replaces "[[ ... ]] && ..." with "if [[ ... ]]; then ..." in some
  cases to avoid a spurious nonzero exit status from _zsh_tmux_plugin_run.
- Puts error message on stderr instead of stdout
2018-08-03 22:09:06 +02:00
Andrew Janke
f33691fbb6 tmux: detabify source code
Also changes the tmux detection test to do an early exit if tmux is absent,
to reduce the indentation level of the main body of code.
2018-08-03 21:21:42 +02:00
Thanh Ha
5fa7824ea5 git-prompt: fix error when multiple tags exist (#6998)
When a commit has multiple tags associated to it, the git-prompt will
throw the following error:

git_super_status:[:4: integer expression expected: v0.21.x\ntags/v0.21.5,
git_super_status:[:7: integer expression expected: origin/v0.21.x,
git_super_status:[:11: integer expression expected: origin/v0.21.x,
git_super_status:[:14: integer expression expected: v0.21.x
git_super_status:[:23: integer expression expected: v0.21.x

This is due to the prompt expecting the tag field to be a single word
with no spaces in between but if there are multiple tags the python
script returns a string with ', ' space separated list of tags.
This throws off the parser. The solution is to ensure that the python
script returns a space-less string ensuring the git-prompt parser to
properly parse the data.

Signed-off-by: Thanh Ha <zxiiro@linux.com>
2018-07-29 17:45:35 +02:00
MarkPochert
a24a0b1a8e Update z to latest version (#7021) 2018-07-29 17:43:15 +02:00
Thi
6ca57e035c [plugins/xcode] Fix opening project using a wrong Xcode version (#6829) 2018-07-19 17:20:45 +02:00
Johan Kaving
626b30b2a3 Update git-flow-avh to 0.6.0 (#6498)
This updates the git-flow-avh plugin to the latest version
from https://github.com/petervanderdoes/git-flow-completion
(0.6.0 at the time of this commit).

This mainly adds support for the "git flow bugfix" command.

This PR replaces #4626 as well as #4705, both of which adds support for the bugfix command but doesn't use the official version from https://github.com/petervanderdoes/git-flow-completion

Fixes #4705
Fixes #4626
Fixes #5903
2018-07-19 16:53:19 +02:00
Jon Mosco
a3ab45db8b updating kube-ps1 to align with upstream changes (#6995) 2018-07-19 16:32:31 +02:00
Marc Cornellà
d302e3eebe
bundler: fix bundle version git error
It seems that `bundle version` calls git to know the commit sha, while `bundle --version` only shows the version of bundler.

Fixes #6988
2018-07-18 23:34:38 +02:00
Arun Sathiya
f88396e327 wp-cli: fix README typo for wptu command (#6987) 2018-07-12 23:08:22 +02:00
Marc Cornellà
4c0b82b482 yarn: add README 2018-07-11 21:42:31 +02:00
Marc Cornellà
344b13c4a5 yarn: add aliases for common commands
Fixes #5722
Fixes #5864
Fixes #5920
Fixes #6566
Fixes #6579
Fixes #6686
Fixes #6740
2018-07-11 21:42:31 +02:00
Marc Cornellà
1a657c6c4d yarn: use zsh-completions completion (ff73f40)
Version: ff73f40 (2018-05-02)

Fixes #5859
Fixes #5878
Fixes #5983
Fixes #6013
2018-07-11 21:42:31 +02:00
Arthur
7cb5fa8aea Fix dotenv plugin accepted file format and clarify README (#6093)
* Fix dotenv plugin accepted file format

* clarify README and add disclaimer section
2018-07-10 23:31:47 +02:00
Azat S
be342b1bc8 Yarn upgrade-interactive (#5796)
* Add Yarn upgrade-ineractive CLI command

* Remove dots at the end of completions
2018-07-10 13:41:20 +02:00
Thomas Kriechbaumer
d232e6866c ufw: remove debug print (#6976) 2018-07-09 19:27:02 +02:00
Matthieu PETIOT
b0052c7958 Add argument to set644 and set755 perms alias. (#6959)
This can avoid big mistakes as this I just made.
I thought I could give it an argument. So, now, it is possible.
2018-07-04 12:48:46 +02:00
Shawn Milochik
dd8cf51397 Spelling fix (#6963) 2018-07-03 17:46:33 +02:00
Roman Sedov
da8745eb9a convenient vscode plugin for oh-my-zsh (#6903) 2018-07-03 17:45:42 +02:00
Marc Cornellà
9711d8f731
Rename kube-ps1.zsh to kube-ps1.plugin.zsh 2018-07-02 17:04:09 +02:00
Alexandre Nicastro
af085542bd Stop error "permission denied: /npm_completion" (#6340)
Fixes #5874

Related:
https://github.com/lukechilds/zsh-nvm/issues/23
https://github.com/zsh-users/antigen/issues/586
2018-07-01 23:21:20 +02:00
Maciej Sypień
5c0911c184 update nvm completions with v0.29.0 (#4701) 2018-07-01 23:12:14 +02:00
当轩
ac0d71467b add plugin:percol (#4582)
* add plugin:percol

* fix format

* check percol

* fix empty history in gnome terminal
2018-07-01 23:07:35 +02:00
Pierre Barbier de Reuille
27b9aed87f Added "-n name" option to vim-interaction plugin (#4522) 2018-07-01 20:48:53 +02:00
meehow
c7d8ad1e75 sudo added to nmap commands which require sudo (#4476) 2018-07-01 20:45:15 +02:00
miguelpuyol
2732126525 Add Spring Boot Run command (#4460) 2018-07-01 20:42:29 +02:00
Alberto Re
29a2394c8f Adds vagrant_prompt_info function to your shell (#4081) 2018-07-01 20:16:08 +02:00
Shadab Zafar
78e7ec2186 Add magic-enter plugin (#4082)
* Added magic-enter plugin

To bind commonly used tasks to the enter key

* Allow the magic-enter commands to be modified by the user
2018-07-01 20:13:49 +02:00
Thomas Kriechbaumer
2de926aa10 add ufw completion script (#3835) 2018-07-01 20:00:09 +02:00
Hosmel Quintana
4aaafc0fe8 Add Homestead plugin (#3712) 2018-07-01 19:39:44 +02:00
Michael Stucki
302270174d Use existing ssh-agent when invoking a sudo shell (#3891)
When invoking a shell as root using ```sudo -s```, the ssh-agent plugin
starts a new agent although it already exists.

The problem boils down to a check if ssh-agent is running using
```ps x```. If that is extended to ```ps ax``` for root, then the
existing ssh-agent will still work.
2018-07-01 18:20:34 +02:00
Justin Aiken
b09890a3e4 Added more levels of zeus compeletion (#2058) 2018-06-30 22:45:20 +02:00
Michal Juriš
b6ca933a02 Add alias for 'git rebase develop' (#6006) 2018-06-30 22:25:53 +02:00
Sascha Rudolph
0639582f73 6098 - add support for apt in debian plugin (#6122)
Signed-off-by: Sascha Rudolph <sascharenerudolph@gmail.com>
2018-06-29 18:22:46 +02:00
Marc Cornellà
76bfa7dd2a
rand-quote: refactor rand-quote function
- Make function variables local
- Use prompt color sequences
- Use guard clause to check for curl
- Improved syntax
2018-06-29 18:16:10 +02:00
Marc Cornellà
1e255a1a8d
rand-quote: add README 2018-06-29 17:55:55 +02:00
Marc Cornellà
787c6899d4
rand-quote: update URL
Fixes #6949
2018-06-29 17:50:32 +02:00
Jeremy Jones
547a6ce260 fix path completion issue with go run subcommand (#6929) 2018-06-24 06:52:53 +02:00
Ruben Di Battista
6c1dab2320 Fix autojump sourcing on OSX with Macports (#4801)
* Fix autojump sourcing on OSX with Macports

The last version of autojump available on Macports does not have
anymore different shell scripts (.sh, .zsh, .bash ...) to be sourced
but just one autojump.sh that takes care of that located at
/opt/local/etc/profile.d/autojump.sh

fix # 4625

* Fix bug with macports autojump on OSX.
2018-06-20 23:27:38 +02:00
doofin
a0b8eab5f0 Update sbt.plugin.zsh (#6930) 2018-06-19 17:38:10 +02:00
Marc Cornellà
6af58f492f
common-aliases: delete unexistant command
`display_info` doesn't exist in any known platform

Fixes #5208
2018-06-18 22:47:51 +02:00
Elton Chen-Yu Ho
0d80e9b4ee Fix zshrc alias when $EDITOR uses parameters (#6146)
According to #5003

if one exports EDITOR with parameters, say:
`export EDITOR='subl -w'`
 
running command:
`zshrc`
 
will result in:
`zsh: command not found: subl -w`

This can be fixed by updating common-aliases.plugin.zsh line 16 with:
`alias zshrc='${=EDITOR} ~/.zshrc' # Quick access to the ~/.zshrc file`

Fixes #5003
2018-06-18 22:12:07 +02:00
Henry Bley-Vroman
48e2c828ef Thefuck: homebrew install documentation and thefuck repo link (#5940)
* Thefuck: homebrew install documentation and thefuck repo link
* thefuck: reformat error message
2018-06-18 21:04:42 +02:00
kang
c99844d848 adb: fix adb -s device completion (#6489) 2018-06-17 00:07:03 +02:00
Przemysław Włodek
f258bcba8d Fix yarn alias that conflicts with yeoman cli (#6453)
Yeoman cli alias is 'yo' so 'yarn outdated' can't be aliased to 'yo'.
See: http://yeoman.io/
2018-06-17 00:03:14 +02:00
Marc Cornellà
ef1e89b44b meteor: fix formatting and reorganise 2018-06-15 23:06:09 +02:00
Adnan Y
125dd32361 meteor: completion updated with more commands 2018-06-15 23:05:45 +02:00
Yann VR
2647a8ccfd Meteor-1-2 arguments update (#4538)
Fixes #4280
Fixes #4321
2018-06-15 21:40:31 +02:00
Edwin de Jong
4105faf620 Update sbt to add publish-local to commands (#3112) 2018-06-15 21:04:25 +02:00
Parham Alvani
5efa5138bf silence mode of curl (#6898)
Uses silence mode of curl for better autocomplete.

Co-authored-by: Dominik Rimpf <dev@d-rimpf.de>
2018-06-14 20:32:15 +02:00
Marc Cornellà
09fbc16366
Refactor lein plugin (#6914)
* Add upstream lein completion (cee9029d)
* Delete lein.plugin.zsh
2018-06-12 20:45:38 +02:00
Marc Cornellà
be5bff2e86
Allow FreeBSD to correctly detect number of CPUs
Use the same scheme as Darwin - sysctl instead of nproc, which doesn't exist in FreeBSD

Closes #2545

Co-authored-by: Daniel Bye <dbye@users.noreply.github.com>
2018-06-12 19:54:47 +02:00
Marc Cornellà
7a9bab1d77
Update tmuxinator completion to 03c8babb 2018-06-12 19:20:10 +02:00
Peter Butkovic
321200d708 added tmuxinator aliases (#3147) 2018-06-12 19:19:59 +02:00
Marc Cornellà
3dcf9fd662
Delete python completion in favor of zsh's one 2018-06-12 18:40:31 +02:00
Matteo Giaccone
0808c0f6ef Remove default for git reset (#4993)
The command will do the same as before, but now you can also specify
a path.

Example:
grh branch-name
grhh tag-name
2018-06-12 18:23:31 +02:00
Andre Figueiredo
019e0d7c71 fix(typo) (#6905)
*trupd* for "trizen -Sy" fixed to *trupg*
2018-06-10 18:55:47 +02:00
Marc Cornellà
f461d21de1
virtualenvwrapper: set $WORKON_HOME if undefined
This uses the default that virtualenvwrapper.sh would set if it was called. If the user
changes its value after the plugin is loaded, the plugin will work all the same.

Fixes #6882
Closes #6870
Closes #6883
2018-06-06 17:14:19 +02:00
Paul Ossenbruggen
6ace3cd18d add xx command to Xcode plugin. Allows quick opening of files in Xcode. (#6812) 2018-06-05 06:37:20 -07:00
Marc Cornellà
ebda8af870
Clarify ssh-agent settings position 2018-05-28 17:09:53 +02:00
Michael Fladischer
ce2890bef9 [plugins/vundle] Use HTTPS to clone repository. (#6857)
The git protocol is likely to be blocked in some networks while HTTPS usually
works.
2018-05-28 11:23:05 +02:00
Erwan ROUSSEL
8bbef9180e Npm's plugin documentation (#6864)
* Documentation for Npm plugin added

* Fix style and add alias descriptions
2018-05-26 22:22:22 +02:00
Lorenzo Bolla
90a5bd06ca Prefer virtualenvwrapper_lazy (#6842)
This gives much faster start up times and only loads virtualenvwrapper
when needed.

Fix #6839
2018-05-26 20:44:49 +02:00
Marc Cornellà
5896c87155
shrink-path: match only the beginning of the directory (#6862)
Fixes #6317
2018-05-26 19:31:17 +02:00
Marc Cornellà
2294bae06a Merge branch 'shrink-path-chpwd-fix'
Closes #5930.
2018-05-26 19:07:46 +02:00
Kaleb Elwert
66cb4005ab Update shrink-path to use cd -q for bypassing the chpwd callbacks 2018-05-26 19:05:01 +02:00
Marc Cornellà
c09783c255 Revert "unset chpwd_functions before running cd ... (#6830)"
This reverts commit 3dab7e46e8.
2018-05-26 19:02:03 +02:00
Pooya Parsa
d6aeaad83d [plugin] update NPX docs (#6849) 2018-05-26 18:39:32 +02:00
Marc Cornellà
957eb77239
Merge pull request #6844 from lbolla/Issue6843
Cache kubectl completion script to file to speed up sourcing
2018-05-26 18:32:13 +02:00
Marc Cornellà
9b11b7e938
Update logic to follow npm plugin convention 2018-05-26 18:25:47 +02:00
Marc Cornellà
ed0bd6b33c
added a transfer.sh plugin (#5854)
* added a transfer.sh plugin
created a function to easily upload files to transfer.sh file sharing site
Usage : transfer file.txt

* added README for transfer.sh plugin

* replaced transfer function with @nl5887 version

* updated transfer README.md

* modified the script to use tar command instead of zip

* Update README formatting

Co-authored-by: Remco Verhoef <remco@dutchcoders.io>
2018-05-25 20:56:59 +02:00
Marc Cornellà
3d8ee47c7a
Update README formatting 2018-05-25 20:44:56 +02:00
Chuan Jin
2642f0a8b4 Add git log with date (#6789) 2018-05-20 16:02:53 -07:00
Lorenzo Bolla
ee96d0cf96 Fix 6840 Check emacsclient version instead of emacs's (#6841)
This is much faster.
2018-05-20 16:01:55 -07:00
Lorenzo Bolla
2956e7820e Fix 6843 Cache kubectl completion script to file to speed up sourcing 2018-05-20 13:46:27 +01:00
Mauro Porras P
a600ab4b85 Minor fix: "stdin" instead of "stding" (#6801) 2018-05-17 16:30:03 +02:00
Matt Lewin
d79086bc87 Update terraform plugin with v0.11.7 commands and help (#6834) 2018-05-17 16:18:20 +02:00
dt-rush
3dab7e46e8 unset chpwd_functions before running cd to work with the path, to avoid side-effects if the user has set any chpwd_functions which cause output, such as is the case if the user is using auto-ls (#6830) 2018-05-17 14:45:04 +02:00
Frank Wittig
e8aaab56b9 allow . in profile names 2018-05-16 18:01:09 +02:00
Julien Palmas
de1e3c0794 add pg:backups command 2018-05-16 17:52:11 +02:00
rco-ableton
c3493dc5ce Add Heroku pipelines support (#5660) 2018-05-16 17:40:42 +02:00
Marc Cornellà
0aa645f803
pyenv: search the pyenv command if not found (#6811) 2018-05-15 12:07:23 +02:00
Varun Patro
6876d9c543 Update fasd.plugin.zsh (#6822)
If `EDITOR` variable contains arguments to an editor such as mine:
`export EDITOR=emacsclient -t -c --alternate-editor=''`
Then, the editor's arguments are passed on to `fasd`. To fix this, pass the EDITOR program in quotes.
2018-05-14 16:00:04 +02:00
Harald Nordgren
0608bb768f Use 'apt' instead of 'apt-get' for Ubuntu >=16.04 (#5787) 2018-05-14 15:09:56 +02:00
Quentin Nerden
919f0a42a0 Updated autocomplete and readme (#6720)
Signed-off-by: Troy Fontaine <tfontaine@troyfontaine.com>
2018-05-13 21:58:35 +02:00
Ian Chesal
0c63909ad3 Fix default location of the virtualenvwrapper script (#6348)
The `virtualenvwrapper` script has been relocated to
`/usr/local/bin/virtualenvwrapper.sh`. Update the
plugin to look in the new location first. See:

http://virtualenvwrapper.readthedocs.io/en/latest/#introduction

to confirm the change in location for this script.

This addresses issue #3047 where the solution was to source this file
from your zshrc.
2018-05-13 21:56:46 +02:00
Marc Cornellà
d02d008579
Add directory hierarchy navigation to dirhistory (#6756)
* New Feature:
  Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
  ALT-UP moves to higher hierarchy (cd ..)
  ALT-DOWN moves into the first directory found in alphabetical order
2018-05-13 01:57:42 +02:00
Giuseppe Landolfi
8ebf2a6785 Fine-tune dirhistory plugin mappings for Mac (#6580)
See https://github.com/robbyrussell/oh-my-zsh/pull/6533#issuecomment-360878060
2018-05-13 01:53:45 +02:00
Xiao Fan
18effd77db last-working-dir: disable chpwd_last_working_dir in subshells (#6817) 2018-05-11 16:28:02 +02:00
Hosh
e8c328cb39 Update AWS completion (#6745) 2018-05-10 20:53:16 +02:00
Quentin Nerden
825baeb310 Add autocomplete plugin for minikube (#6436) 2018-05-09 22:34:41 +02:00
Francisco Zuviría
18f7ca577a Adhere to coding style outlined in wiki 2018-05-08 12:55:59 -03:00
David Harrigan
b7e544e6f1 gradle plugin should support kotlin gradle build files (#6529)
This change allows the gradle plugin to recongise build.gradle.kts files and
thus generate the autocomplete entries.

-=david=-

closes #6528
2018-05-08 13:13:11 +02:00
MikeDawg
0011d34f71 Removed duplicate fedora from plugins, dnf provides exact same features 2018-05-07 23:14:49 +02:00
Marc Cornellà
00f311a3c1
Add READMEs to plugins copydir and copyfile (#6802)
* Add README to copydir plugin

* Add README to copyfile plugin
2018-05-07 18:00:27 +02:00
Joseph Richey
cafa657469 Correctly handle verbose/version flags for rustc (#6786)
See the help output for rustc (v1.25)
2018-05-01 15:21:12 +02:00
Oliver Baumann
493c30954b Parse branch-name for fresh repo (#6302)
Inside a fresh git repo, i.e. immediately after a `git init`, usually no
commit template exists yet. In this case, git renders a different
status message than "Initial commit on". We should consider this message
when attempting to parse out the branch name.

Fixes #6301
2018-04-30 16:25:02 +02:00
Ady Romantika
32952ec7e8 Add aliases for kubectl ingress (#6762) 2018-04-28 07:55:46 -07:00
Marc Cornellà
8eba19208d
Revert to checking if enable-ssh-support is set
Fixes #6772
2018-04-27 17:56:21 +02:00
Konstantin Zolotarev
9cd3701ac0 Added ecto tasks (#6035) 2018-04-25 22:12:19 +02:00
Cristian Álvarez Belaustegui
bf87e99a14 Fix mix-fast plugin (#6708)
The mix command for listing all available actions has been changed from
`mix --help` to `mix help`.
2018-04-25 22:06:26 +02:00
George Kaklamanos
acacfec924 Remove unneeded option in glol and glola (#6059) 2018-04-25 14:14:33 +02:00
Tomasz Borek
b85c72b5f6 Better app error handling in curl (#5828)
Deals with app error page, saving true error instead.

Upon app failure, Heroku returns HTML "Application Error" page.
Finding HTML page in .gitignore is confusing, so I replaced
`-s` with `-f` in curl calls, which cuts such output.

Replace instead of addition as no progress meter outputs either.

It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.
      -- E. W. Dijkstra
2018-04-25 14:11:46 +02:00
Marc Cornellà
ef70990ce1
Simplify hub check and hardcode aliasing (#6767)
* Simplify hub check and hardcode aliasing

* Update hub completion
2018-04-24 22:02:58 +02:00
oooooooo
c117d241cb $ rails runner [TAB] *complete* (#5881) 2018-04-23 20:36:55 +02:00
Marc Cornellà
cf5ccf06a0
[subl] Fix local variable definition
Fixes #6757
2018-04-23 13:06:49 +02:00
Francisco Zuviría
7bb7ce62d3 On branch fzuviria.plugin.dirhistory.new-feature.navigate-history
Changes to be committed:
	modified:   dirhistory/dirhistory.plugin.zsh

New Feature:
  Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
  ALT-UP moves to higher hierarchy (cd ..)
  ALT-DOWN moves into the first directory found in alphabetical order
2018-04-22 22:34:26 -03:00
Julian Laubstein
c7185c35f3 Add completions to asdf plugin (#6046) 2018-04-22 20:27:12 +02:00
Terrance Kennedy
8efcf2776b pyenv plugin refactor (8x faster) (#6165)
* Refactor pyenv plugin to use PATH
2018-04-22 20:03:58 +02:00
Andrew Janke
cea941ce42 sublime plugin: make "local" work by wrapping in anon function 2018-04-22 18:37:05 +02:00
Andrew Janke
13c840fa3e Remove the GPL LICENSE file b/c it's no longer relevant 2018-04-22 18:25:58 +02:00
Andrew Janke
ef68878b22 Rebuild the chucknorris fortune file with a scrapper, using 20 pages worth
NOTE: The scrapper was previously included, but due to the website it scrapped
being dead it's no longer useful. See #3642 for the code.

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2018-04-22 18:24:12 +02:00
Marc Cornellà
fbbe902c38 zsh_reload: add README 2018-04-22 12:55:21 +02:00
Marc Cornellà
405b8f220a zsh_reload: use exec zsh instead of source ~/.zshrc
`source ~/.zshrc` is a bad practice, it doesn't make sure that the full
zsh session is reloaded and it may have side effects.

Use `$SHELL` as the path to zsh if it exists (this will fix edge cases
where the zsh used is not the first on $PATH). Otherwise, use `zsh`.
2018-04-22 12:55:13 +02:00
Marc Cornellà
8706c8eb64 zsh_reload: ignore insecure compinit files 2018-04-22 12:50:00 +02:00
Marc Cornellà
9a7c56dcdd zsh_reload: fix code style and indent with tabs 2018-04-22 12:50:00 +02:00
Chris Fleming
9a71864288 Fix gpg-agent plugin checks (#6469)
* Always try and start gpg-agent, with --use-standard-socket it will try and use a standard socket directory. It won't start multiple agents if agent is already running. In addition, XDG_RUNTIME_DIR isn't always set

* ssh socket if broken if --daemon is run again, so onky start if we don't have a socket

* Removed unnecessary allocation of GPG_SSH_AUTH_SOCK
2018-04-21 22:26:36 +02:00
Darius Grigalevicius
5c047ae8ba updated symfony plugin to add entity generation and schema update aliases (#5042) 2018-04-15 21:55:47 +02:00
Marc Cornellà
ef9044c722 Fix styling and format of hanami README 2018-04-15 20:25:50 +02:00
Artem Pyankov
7c62c57b9f Add table of aliases for hanami plugin 2018-04-15 20:08:52 +02:00
Artem Pyankov
e64cdc9ec4 Add README for hanami plugin 2018-04-15 20:08:52 +02:00
Artem Pyankov
0bd9e5d859 Add hanami plugin inspired by rails 2018-04-15 20:08:51 +02:00
Erwan ROUSSEL
a8f3b374d8 npm init (#6648) 2018-04-15 19:54:42 +02:00
Marc Cornellà
cfec5d56df [archlinux] add recent aliases and functions to readme 2018-04-15 19:18:25 +02:00
Philippe Proulx
dc57d1881b plugins/archlinux: add pacls, pacown, pacweb 2018-04-15 19:13:39 +02:00
Marc Cornellà
2fce6a0faf
[archlinux] Fix function syntax to avoid clashes with aliases
See https://bugs.debian.org/871816

Fixes #6592
2018-04-15 15:53:43 +02:00
Marc Cornellà
aa5279f2dc
Fix typo that resulted in math error (#6731)
[emotty] fix typo that resulted in math error
2018-04-15 15:20:26 +02:00
Alexis Hildebrandt
88d21fea6c Improve emotty plugin (#5999)
* The display_emotty function show the name of the displayed emotty set

* Unless an emotty set was given show the emotty set configured
  in $emotty_set
2018-04-15 15:16:44 +02:00
Arthur Brainville
30a5124f9d Added trizen to the archlinux plugin (#6650)
* Added trizen to the archlinux plugin

trizen is the recomended solution for using the Arch User Repository.
both yaourt and pacaur have some issues.

Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>

* Add trizen aliases to the readme

Also fixed inconsistency in formatting on readme file.
(also added myself in the contributor list)
2018-04-15 14:47:08 +02:00
Franz König
15d051c32b hotfix for archlinux.plugin.zsh (#5909)
Co-authored-by: dalu <2694548+dalu@users.noreply.github.com>
2018-04-15 13:38:25 +02:00
Eric Hudon
2aa2ea744e Change the br argument to branch to follow PR #6678. (#6680) 2018-04-15 13:17:23 +02:00
Jean-Benoit Griesner
62b8a70a7c Add Qwant engine - web_search plugin (#6701)
Co-authored-by: Maxime AURIAU <maxime.auriau@dnd.fr>
2018-04-06 19:09:00 +02:00
fREW Schmidt
9b1c21a409 Get rid of some silly copy pasta (#3187)
Said gem instead of vagrant
2018-04-02 13:43:41 +02:00
Lauri Lavanti
0cec462621 Add docker-compose start alias 'dcstart' (#6675) 2018-03-18 14:10:58 -07:00
Eric Hudon
5f2c34374b Change the br action to branch to be more explicit. (#6678) 2018-03-18 14:10:34 -07:00
Lauri Lavanti
ce23ef9a2f Add alias for docker-compose pull (#6665) 2018-03-09 08:14:51 -08:00
Jon Mosco
e6e2b3d42f kube-ps1 zsh prompt helper (#6507) 2018-03-09 08:14:36 -08:00
Andrea Giardini
afad3e1f8d Add kubectl alias for apply (#6662) 2018-03-09 08:14:09 -08:00
Luke
7c2028e84e Update/add kubectl logging commands (#6639) 2018-03-09 08:12:42 -08:00
Andrew Matheny
84e9066984 Update docker-compose autocompletion (#6607) 2018-03-09 08:11:52 -08:00
Nikolay Panov
52c4e134cc Update django.plugin.zsh (#6634)
Added support for 'showmigrations' django command.
2018-03-09 08:11:30 -08:00
vadimkim
6d75f556e0 fix "kubectl logs" (#6667)
logs doesn't have "pods" parameter
2018-03-09 08:11:09 -08:00
Vsevolod Romashov
37c2d0ddd7 add hanami to the list of wrapped gems (#6334) 2018-01-22 19:35:17 -08:00
Samuel BERTHE ツ
15a681d266 Adding whatthecommit to lol plugin (#6289) 2018-01-22 19:25:15 -08:00
David Leitner
3f654922de Update extract.plugin.zsh (#6516) 2018-01-22 19:24:18 -08:00
Jake Stanley
8f5e5233fb added stn create_project function for stubbing sublime-project files (#6515) 2018-01-22 19:23:36 -08:00
Michael Nikitochkin
e5dae3d331 add -auto-approve flag to terraform apply command (#6558) 2018-01-22 19:19:57 -08:00