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

2611 commits

Author SHA1 Message Date
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
Jeremy Worboys
7a0dac8040 Add ExpressionEngine CMS autocompletion (#6556) 2018-01-22 19:19:03 -08:00
Giuseppe Landolfi
215e43aa8a Add support for Mac to dirhistory plugin (#6533)
Add shortcuts for mac keyboards as an alternative to alt+left
abd alt+right: mac users can now use opt+left and opt+right.
2018-01-22 19:18:45 -08:00
Steve
28cd683282 updated alias and corrected python package (#6520) 2018-01-22 19:18:03 -08:00
Alexey Pristavkin
d22189848e Update of docker completion (#6542) 2018-01-22 19:14:55 -08:00
arizzubair
f6a4e37e88 Update README.md (#6554)
Minor spelling mistake.
2018-01-22 19:14:32 -08:00
Harish Narayanan
c3b072eace Replace spotify command in the osx plugin with a more recent copy of the upstream project (#6419)
* Remove older shpotify code from the macOS plugin

* Add Shpotify 2.0.1 from the upstream repository at https://github.com/hnarayanan/shpotify/releases/tag/2.0.1

* Wrap the Shpotify script in a function and import into the macOS plugin

* Fix import path of the shpotify script

* Add shpotify permission notice in the macos plugin rREADME

* Merge with the upstream shpotify project

- Fix playlist playback
- Add a 'stop' command
2017-12-14 08:01:32 -08:00
yongxin SHI
a7fb55cf13 add pip --user (#6470) 2017-12-07 15:53:10 -08:00
kg
e999f104e7 Update adb (#6472) 2017-12-07 15:52:52 -08:00
kg
2af2d1aa31 add autocomplete for adb -s option (#6121) 2017-12-04 15:08:07 -08:00
Brandon Weaver
e273cf004e Update ruby.plugin.zsh (#2117)
Added some Gem command shorthands, and ruby shorthand
2017-11-14 06:37:31 -08:00
Michael Nikitochkin
510d90749f Fix the terraform function name (#6418)
* Fix the terraform function name

Current function name do worse. I always use `terr<TAB>` and before those prompt it was add space in the end. Now because we have multiple functions and binaries started with terraform there are no space.

* Updated terraform readme

Updated the name of new function name
2017-11-14 06:36:22 -08:00
Ning Sun
2bd24f7e0d Fixed Pacaur aliases (#6416)
`pacaur -Syua` only updated AUR pakcages, wihch is incompatible with semantics of `pacupg` and `yaupg`. Removing `-a` here it would work for both main repos and aur.
2017-11-14 06:35:55 -08:00
Antonis Kalipetis
41eedd3700 Update Docker completion plugin (#6410) 2017-11-11 09:40:03 -08:00
Markus Færevaag
dcb8101fde [wd] Fix update of wd plugin to v0.4.6 (#6407) 2017-11-09 15:10:33 -08:00
Juanra Núñez
7cea8475fb Added aliases for listing packages (#6374)
Added 'agli' to list all installed packages.
Added 'aglu' to list available updates only.
2017-11-08 14:03:11 -08:00
Paweł Czochański
2c87f85ad5 Fix wrong $GNUPGHOME usage in gpg-agent plugin (#6403)
$GNUPGHOME variable was used incorrectly and caused a grep error when
set.
2017-11-08 14:02:38 -08:00
Aviv A. Rosenberg
85401d4811 Plugin for iTerm2 (#3790)
* Plugin for iTerm2 on OSX

iTerm2 is a popular terminal emulator for OSX (https://www.iterm2.com).

The plugin currently implements one function, iterm2_profile, which
allows easily changing the currently selected user settings profile,
without creating a new tab or window, just by calling the function.

For example, this is handy for switching from a dark to a light colored
profile without having to re-open anything.

In addition, it also works within tmux running inside iTerm2.

* iTerm2 Plugin: Run any iTerm2 command

Refactored the plugin so that it can run arbitrary iTerm2 commands.
Should work with any of the supported commands, see
https://iterm2.com/documentation-escape-codes.html

* iTerm2 Plugin: Add functions to change tab color
2017-11-07 08:11:21 -08:00
Mahmoud Hossam
ed85147e6e Rename clashing ag alias (#5849)
* Fix ubuntu ag alias clashing with the silver searcher

* Add aliases for git apply and git merge --abort
2017-11-07 08:06:41 -08:00
Jonathan Channon
5486aa21eb Added --force-with-lease method (#5025) 2017-11-07 08:06:19 -08:00
Jakub Sacha
766b47d8b8 Add docker-machine plugin (#4782) 2017-11-07 08:05:19 -08:00
Paweł Czochański
c2fb24a792 Fixed the gpg-agent plugin for new gpg versions (#6140)
The gpg-agent plugin did not work for gpg versions above or equal to
2.1 because of the `--write-env-file` option deprecation. This new version
works fine and also enables the ssh-agent support only if it is enabled in the
gpg-agent config file.
2017-11-07 08:04:38 -08:00
T0mK0
9d6b6c5ce1 speed up chruby plugin by eliminating(as much as possible) calls to brew (#6080)
* speed up chruby plugin by eliminating(as much as possible) calls to brew

* speed up aws plugin by eliminating(as much as possible) calls to brew
2017-11-07 08:03:54 -08:00
Nur Rony
47039f645f feature(plugins): adds kops (kubernetes operations) plugin (#6107) 2017-11-07 08:03:14 -08:00
Michael Favia
790712f6f2 Add aliases for kubectl to speed up repetitive commands. (#5856) 2017-11-07 08:00:14 -08:00
Luke Lazurite
dfc03c7bb6 optimize load of pyenv with homebrew (#6142) 2017-11-07 07:57:07 -08:00
Kevin Kirkup
9edde0950e Add OpenShift autocompletion (#6049) 2017-11-07 07:55:24 -08:00
Marcel Siegert
63cfade9a4 Prepend function keyword in colored-man-pages plugin (#6238)
Resolves: #6237
2017-11-07 07:51:38 -08:00
jrisebor
1fca822ab2 Fix Standard Error Redirection for composer plugin (#5935) 2017-11-07 07:50:08 -08:00
Maciej Lasyk
d12c2ea4e8 Plugins: Terraform (#6373)
Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt
2017-11-07 07:45:25 -08:00
Markus Færevaag
46062e25cc [wd] Update wd plugin to latest (#6383)
* Update wd plugin to v0.4.5

* [wd] Update wd plugin to v0.4.6
2017-11-07 07:40:24 -08:00
Vincent
9edb3fceba Added: Helm plugins (#6265) 2017-11-06 06:49:27 -08:00
Pooya Parsa
b53fbc36c1 plugin: npx (#6152) 2017-11-06 06:48:56 -08:00
Nicolas Cavigneaux
9dab0af11f Set RBENV_ROOT to "$HOME/.rbenv" if not already set (#6324)
This is the default behavior of rbenv and what users are expecting
most of the time.

It allows users to have their own set of rubies and gems. It also
prevents losing all rubies when rbenv is updated using Homebrew which
is not true when RBENV_ROOT is set to /usr/local/opt/rbenv.
2017-11-06 06:43:03 -08:00
Tiago Rinaldi
d072c0fbec Change agud alias from dist-upgrade to full-upgrade (#6384) 2017-11-06 06:41:33 -08:00
Canux
1ec5bab7d8 fix conflict with command ag (#6395)
ag is a famous command just like grep.
2017-11-06 06:41:13 -08:00
William Bautista
d6ccb41d0b Update Yarn plugin alias (#6246) 2017-11-04 10:41:14 -07:00
Athaher Sirnaik
d29784e1ae Improved npm aliases: run, publish (#6354) 2017-11-04 10:35:44 -07:00
Sebastian Schlein
fb1227088d Enhanced Laravel 5 Plugin (#6376) 2017-11-04 10:34:31 -07:00
David Librera
905eb815fa Check first for bin/stubs directory in _rails_command and _rake_command (#6372) 2017-11-04 10:33:57 -07:00
ramanduh
93120c4151 jira plugin: take into account action argument (fix #6388) (#6393) 2017-11-04 10:31:42 -07:00
Mike Reardon
4cb730773b Added 'clean verify' to the mvn plugin targets (#6339) 2017-11-01 06:21:49 -07:00
Arthur Schneider
0fc2414095 Update git-flow aliases (#6335)
It is possible to pull and push branches to/from origin
2017-11-01 06:09:31 -07:00
Jarryd Tilbrook
6d5b1f1e3b Allow jira default action file based setting (#6367) 2017-11-01 06:09:10 -07:00
Wenzheng Jiang
1e027509d8 Add nixos support for autojump plugin (#6365) 2017-11-01 06:05:35 -07:00
Jarryd Tilbrook
529a12fac8 Add shortcut for opening current branch in Jira (#6366) 2017-11-01 06:04:41 -07:00
bjorn3
e8e7bf3b89 Update rust plugin for latest rustc (#6342)
* Update for latest rustc

* Some debug option updates

* Add some cargo flags

* Fix bug in cargo plugin
2017-11-01 06:04:03 -07:00
Markus Færevaag
2102d10896 [wd] Update wd plugin to latest version (#6371)
* [wd] Update wd plugin to v0.4.3

* [wd] Update wd plugin to v0.4.4
2017-11-01 06:03:34 -07:00
madpawel
b5898a5ec6 add -backend-config flag to terraform init command (#6370) 2017-11-01 05:56:29 -07:00