Commit graph

3530 commits

Author SHA1 Message Date
Dmitry
31c2dc32c2
jira: add tempo command (#8928) 2020-05-21 18:11:18 +02:00
R Max Espinoza
9050ed34d1
pipenv: fix error when Pipfile is not a file (#8931) 2020-05-21 17:56:13 +02:00
Will Mendes
8b51d17c46
frontend-search: add packagephobia (#8908) 2020-05-19 16:33:47 +02:00
Marc Cornellà
4012df8fbb bundler: add alias for bundle add
Fixes #8892
2020-05-18 11:53:34 +02:00
Emanuel Alarcón
3e14fdd6b4
bundler: add alias for bundle check (#5000) 2020-05-18 11:48:44 +02:00
Raphaël Brulé
0e4b638c3f
Add plugin for rustup completion (#8914) 2020-05-16 17:15:43 +02:00
Marc Cornellà
587b554580 zsh-navigation-tools: update to 5937e57e
Fixes #8476
2020-05-16 16:55:29 +02:00
Marc Cornellà
fd786291ba composer: fix documented aliases 2020-05-11 20:10:36 +02:00
Gilles
2ecf2846cd composer: add aliases for 'outdated' commands
Added `co` alias for `composer outdated` and `cod` for `composer
outdated --direct`

Closes #5127
2020-05-11 20:04:52 +02:00
Michael Stucki
f6a03b2396 composer: use cache to fix slowness during startup
Fixes #6647
Closes #6664
2020-05-11 12:29:40 +02:00
Marc Cornellà
08cc808d71 magic-enter: define bindkey for vi mode as well
Closes #8906
2020-05-09 12:27:56 +02:00
Felipe Contreras
0736a3749a
gitfast: proper synchronization (#8550) 2020-05-05 20:32:52 +02:00
Ross Goldberg
06b0276675
sdk: support completion of new commands in 5.8.0 (#8870) 2020-04-30 20:28:07 +02:00
Ross Goldberg
373e27d805
sdk: improve sdkman completion (#8854) 2020-04-30 18:46:17 +02:00
tom139
c686aa3dbb
aws: fix aws_change_access_key function with awscli v2 (#8816) 2020-04-26 12:28:24 +02:00
Tapan Avasthi
80f669db47
jsontools: correct usage for is_json (#8857) 2020-04-26 12:25:00 +02:00
Marc Cornellà
2560f04982 autojump: clarify need to install it first
Related: #8806
2020-04-22 12:01:30 +02:00
Shahin Sorkh
54c29bbde1
composer: fix cdo alias due to command api change (#8828) 2020-04-13 17:23:52 +02:00
schnatterer
d53355ab38
tig: add more info in README (#8818)
For more convenient plugin exploring.
2020-04-10 13:53:16 +02:00
Marc Cornellà
d6474237b8 battery: revert battery charging symbol 1-character-width hack
Fixes #8804
2020-04-05 21:59:24 +02:00
Marc Cornellà
dbd16000a5 themes: fix minor syntax error 2020-04-05 17:14:48 +02:00
Monson Shao
6ad6fea52a
gnu-utils: append make to cmds (#8794)
GNU "make" is installed as "gmake" by homebrew.
2020-04-03 16:13:36 +02:00
Felix Stupp
621de1e20b
colorized-man-pages: add hooks for dman and debman commands (#8776)
* colorized-man-pages: Added hooks for commands dman and debman

`dman` and `debman` are tools from the package `debian-goodies` for
Debian systems (see https://packages.debian.org/stable/debian-goodies).
They can display man pages from manpages.debian.org or local debian
packages respectively.

README of the plugin is also updated.

* Simplify syntax for future changes

* Fix README syntax

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-30 20:13:12 +02:00
Marc Cornellà
2a081d6e5e battery: remove printf usage where possible
Spares us of the need to quote % symbols
2020-03-30 18:49:01 +02:00
Marc Cornellà
3da469be5c battery: fix Full battery bug on Linux; force 1-char-width on charging symbol 2020-03-30 18:38:53 +02:00
Marc Cornellà
00f3fa2c40 keychain: define SHORT_HOST if not defined
Fixes problems when using the plugin via antibody or antigen.
2020-03-25 10:22:31 +01:00
Jon
bcc3ee8ce8
systemd: remove newline from systemd prompt (#8772) 2020-03-25 10:02:00 +01:00
glechic
4d1202c70c
git: fix markdown in README (#8769) 2020-03-24 19:24:47 +01:00
Marc Cornellà
8b80461e6e
history-substring-search: fixing my dumb mistake 2020-03-24 12:32:52 +01:00
Marc Cornellà
fd534eb979 history-substring-search: update to upstream version 2019-05-12
Updates OMZ's copy to commit 0f80b8eb3368b46e5e573c1d91ae69eb095db3fb from zsh-users/zsh-history-substring-search
2020-03-24 09:54:00 +01:00
Marc Cornellà
2a3a940a45 themes: change lstheme function to themes in $ZSH_CUSTOM in any level
Also sort and remove duplicates, and pipe to fmt to improve output format.

Fixes #8755
2020-03-23 22:51:48 +01:00
Jędrzej Lewandowski
6fbfc4c78b
dotenv: add agree-once improvement to confirmation prompt (#8729)
* dotenv: add possibility to agree once for a given .env file

* refactor: fix code style

* Use :A modifier instead of readlink. Thanks Aloxaf

* Use grep and clean up allowed list check logic

* Simplify and reorder file; change default allowed list path

* Add new feature to README

* Make sure ZSH_CACHE_DIR is defined

* Resolve symlinks in $PWD before storing in allowed list

Co-authored-by: Aloxaf <bailong104@gmail.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-23 12:10:06 +01:00
Hector S
fe97382bc1
virtualenvwrapper: look in $HOME/.local/bin directory (#8758) 2020-03-22 13:43:58 +01:00
Dan Rose
fe5ec4fe31
direnv: change direnv to not assume path (#8757)
On Ubuntu, direnv is not installed in `/usr/local`.
2020-03-21 19:59:15 +01:00
Moritz Schwörer
6dee9f99d3
Add direnv plugin (#8666) 2020-03-20 13:38:40 +01:00
Mark
17be35d1d4
update path for snapd /snap/bin/* which is used by Linux systems (#8752)
Co-authored-by: mark horsfield <markhfromakron@gmail.com>
2020-03-19 12:20:33 +01:00
wurza
f400ea1e57
man: use only first element of command before prepending man (#8747)
Co-authored-by: Michael Wurzer <michael.wurzer@sequality.at>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-16 12:47:15 +01:00
Marc Cornellà
07e3236bc5 taskwarrior: update completion to latest version (dcdf712)
Fixes #8249
2020-03-12 21:57:48 +01:00
Andrew Janke
58e38155fc autoenv: look in additional installation locations, redo logic
Fixes #4681

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-12 16:48:31 +01:00
Marc Cornellà
610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
Christoph Bachhuber
ff6d111d79
z: add markdown Readme (#8715) 2020-03-11 18:17:08 +01:00
LuFan Zhong
7900380239
archlinux: fix wrong parameters in pacfiles alias (#8712) 2020-03-10 12:29:43 +01:00
Ross Goldberg
a31dee2c14
sdk: remove invalid value "candidates" from sdk flush completion (#8725) 2020-03-10 12:22:05 +01:00
Marc Cornellà
e1a8d7c977 gradle: use upstream completion and fix some other stuff
Fixes #6239
Fixes #7946
Fixes #8017
Fixes #8717
Closes #7987
Closes #8718
2020-03-09 18:43:20 +01:00
B YI
4c73584025
aws: fix awscli completion path on NixOS (#8707) 2020-03-09 17:07:34 +01:00
Nick Paterno
bc7f596dc0
nvm: add install-latest-npm to completion (#8709) 2020-03-09 15:32:39 +01:00
Marc Cornellà
742c984558 phing: fix copy-paste error in README 2020-03-09 14:46:22 +01:00
Marc Cornellà
1ef3d57739
aws: add support for AWS CLI v2 autocompletion (#8670)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-05 17:13:46 +01:00
Marc Cornellà
2f345a3d0c
shrink-path: added glob and quote options (#7694)
* Added -g option to shrink-path plugin.

The new optins adds an asterix to the uniquely shortened name, such
that, if copy'n'pasted, zsh globbing will expand to the full path name
of the shortened path:

shrink-path -g:
"/net/software/modules/modulefiles" -> "/n*/s*/modules/m*"

shrink-path -l -g:
"/net/software/modules/modulefiles" -> "/n*/s*/modules/modulefiles"

* Updated also the README file with the new -g option.

* shrink-path: improved handling of special cases

This commits improves the handling of special cases in path strings:

- handling of white space in path names
- handling of single-letter path names

* Update plugins/shrink-path/README.md

Co-Authored-By: Jacob Tomaw <jacob.tomaw@gmail.com>

* Fix typo "Asterix" and replace with "asterisk"

* Add optional quoting support to shrink_path

Co-authored-by: Jacob Tomaw <jacob.tomaw@gmail.com>
2020-03-05 13:08:05 +01:00
Alexey Györi
ecf2240b06
arcanist: add functions which allow copy-pasting of URLS (#8688)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-04 10:54:24 +01:00
chieping
76fb7a258b rbenv: fix rbenv_prompt_info prefix and suffix (#3764)
Closes #3764
2020-03-04 09:21:02 +01:00
Marc Cornellà
22fed4fbcb knife: fix refactor mistake 2020-03-04 09:12:58 +01:00
Masato Ikeda
314dd205ca knife: improve knife-solo support in completion (#3315)
Closes #1944
Closes #3315
2020-03-04 08:48:32 +01:00
Marc Cornellà
93a2ba6b5f kube-ps1: update to latest upstream version (c685ac8)
Closes #8009

Co-authored-by: Jon Mosco <jonny.mosco@gmail.com>
2020-03-03 23:03:39 +01:00
Jean-Yves Rivallan
831089a375
git: make the gpristine alias remove untracked git repos (#8697) 2020-03-03 14:06:40 +01:00
Josh Christopherson
587000ec02 Some tweaks to the Jira plugin
[x] Updating `branch` command to be compatible with git-flow style branches by removing any prefix before attempting to go to the ticket number in Jira.
[x] Removing the switch between /browse/ and /issues/ based off of the `JIRA_RAPID_BOARD` setting - as all issues are under browse now it seems.
2020-03-02 23:37:40 +01:00
Marc Cornellà
1f6e1555f2 Clean up jira function 2020-03-02 23:26:52 +01:00
RoToRx88
952200044d Better support for branch name
Enable to get issue from branch prefixed with it and delimited by '_'
2020-03-02 23:16:44 +01:00
Matthew Manuel
2f6d79b75d Uppercase the issue in open issue command in the JIRA plugin 2020-03-02 23:14:08 +01:00
Andrea Nanni
10ab2911d3
sdk: add support for local versions and optimize sed calls (#7870)
* Added support for local sdk versions

Added support for local versions (prefixed by '+'), so they are filtered out in _listInstallableVersions() and they are displayed correctly by _listAllVersion()

* Optimize sed calls

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-02 16:19:48 +01:00
0b10
72707d92b1
python: add pyuserpaths function (#7758)
Summary
    Make it get a list of installed interpreters, and add the
    relevant local (HOME) site-packages directory to PYTHONPATH.

    Reason
    To easily add all relevant paths, initially, and between upgrades.

Add check for PYTHONUSERBASE

    Summary
    Check for a non-standard install directory, use it if one
    exists, otherwise use ~/.local.

    Reason
    Allow users to specify their own installation directory, without
    affecting functionality.
2020-03-02 13:38:44 +01:00
Hielke Walinga
ed94e06dda
command-not-found: speed up call to Homebrew command-not-found (#7740)
By sourcing brew files directly we can achieve a very high speed up.
This will not work if the user installed homebrew in a different
location than by default.
2020-03-02 13:34:26 +01:00
Pavel N. Krivitsky
e65bce8495
shrink-path: add minimum length and ellipsis symbol options (#7382)
* Added minimum length and ellipsis symbol options for the shrink-path plugin.

* Replaced tab indentation with space indentation for the shrink-path plugin.

* Added handling of multicharacter ellipsis, and updated documentation and README for the shrink-path plugin.
2020-03-02 13:30:52 +01:00
Pavel Fokin
74420341df
minikube: cache command completions (#7446) 2020-03-02 13:20:28 +01:00
Dan D'Avella
e42683b8c5
pip: add local Python package files to completion (#7442) 2020-03-02 13:17:16 +01:00
Alexander Schlarb
1689e9bb90
zsh_reload: respect $ZDOTDIR when searching for .zshrc (#7706) 2020-02-28 21:01:34 +01:00
Gianluca Recchia
befdb4649b
gitignore: add newline to gi output (#7586)
* Add trailing new line at the end of output
* Double-quote variable expansion
2020-02-28 21:00:44 +01:00
Michal Kielan
dddbb5c9eb
mercurial: add hga alias to README (#7547) 2020-02-28 20:51:38 +01:00
Cody Fuller
f94e55a1a9
mix: add format option to completion (#7256) 2020-02-28 20:42:18 +01:00
Wenbing Li
e61228282a
gradle: fix command option name in completion (#6586)
It should be `--rerun-tasks`, the original one miss a 's' at the end.
See https://docs.gradle.org/current/userguide/command_line_interface.html
2020-02-28 20:35:19 +01:00
Sven Hergenhahn
389de86cf5
pass: update completion to upstream version (675a002e) (#6475) 2020-02-28 20:29:44 +01:00
Ville Lautanala
c3984a7759
fasd: cache full fasd initialisation script (#6097)
Using `fasd —-init auto` will first detect terminal and then call
fasd again to generate the final initialisation script. Caching that gives a more significant performance boost.
2020-02-28 20:01:14 +01:00
Joshua Pratt
5023a4787b
stack: use builtin completion command (#6230) 2020-02-28 19:59:33 +01:00
Thomas Ruiz
864b441688
composer: keep composer autocompletion when using global (#5933) 2020-02-28 19:28:55 +01:00
Gustavo Maia
6f85dc2389
kitchen: change sed regex in completion to capture all commands (#5820)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-28 19:23:36 +01:00
Ján Koščo
3e16d64347
geeknote: update completion (#4986)
Fixes Completion only working for first parameter
2020-02-28 17:29:11 +01:00
mickk-on-cpp
08b04f5df2
fancy-ctrl-z: ensure widgets are called with full context (#4838)
This allows other plugins that hook e.g. accept-line to identify the
fancy-ctrl-z widget as the caller and take appropriate steps when
necessary.

See https://github.com/tarruda/zsh-autosuggestions/issues/82#issuecomment-181133379
2020-02-28 17:27:16 +01:00
Chai Feng
368198b761
Fix an issue with escape characters (#7979)
Co-authored-by: Francisco de Zuviría <FranciscodeZuviria@fusap.com.ar>
2020-02-27 22:47:06 +01:00
Marc Cornellà
2c0315dba4 ng: refactor README 2020-02-27 19:26:55 +01:00
Guillermo del Fresno
79fff1ee49
macports: add rdeps and rdependents completion (#4717) 2020-02-27 18:55:14 +01:00
Miguel Vaello Martínez
ee7a9f6fe6 jhbuild: add some missing commands and update README (#5195)
Commands: make, tinderbox.

Closes #5195

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-27 18:51:44 +01:00
Adrien Plazas
573901dd46
jhbuild: add shell alias (#3707)
This adds "jhsh" as an alias for "jhbuild shell" to the JHBuild plugin.
2020-02-27 18:45:53 +01:00
Ciacho
011c7153d5 nmap: add alias for ICMP scan (#4807)
Closes #4807
2020-02-27 18:25:39 +01:00
Petr Bělohlávek
6b54302b90 python: add alias to run the proper IPython based on virtualenv
Current state: a user invokes `ipython` and is provided with the IPython
instance regarding the `$PATH`.

Proposed state: a user invokes `ipython` (which is a new alias in the
*python plugin*) and is provided with the proper IPython instance regarding
the currently activated virtualenv.

Example: the user's default Python is 2.7 with installed IPython 2.7. User
activates Python 3.5 virtualenv where he installs IPython 3.5. After
activating the environment, one expects `ipython` to run the version 3.5,
which does not happen by default. Instead, IPython 2.7 is used, which in
counter-intuitive and often causes problem.

Closes #5797
2020-02-27 17:17:01 +01:00
Marc Cornellà
6cb8ff391d vagrant: document aliases 2020-02-27 15:21:10 +01:00
Marc Cornellà
3c61bac9a1
vagrant: add common aliases (#3762) 2020-02-27 15:20:19 +01:00
wallace11
01bfb57446
zsh-interactive-cd: add vi-mode support (#8681) 2020-02-26 16:59:59 +01:00
Marc Cornellà
609890847d
npm: hardcode completion function and delete cached one (#8679)
Fixes #8665
2020-02-25 22:23:37 +01:00
Marc Cornellà
3e9e385d98 battery: remove redundant grep calls in battery_pct function 2020-02-25 15:41:17 +01:00
Yahav Itzhak
b72607bc8e
Add JFrog CLI plugin (#8250) 2020-02-25 12:00:25 +01:00
Marc Cornellà
7290a08bf6 battery: fix floating point output in macOS
Fixes #8676
2020-02-25 11:56:26 +01:00
Andy Pickle
f9a2d8cae3
vscode: add documentation for running in macOS (#8674) 2020-02-24 20:13:16 +01:00
Marc Cornellà
f4b4a446ac Polish themes plugin and error out if theme not found 2020-02-19 19:41:02 +01:00
Willy Weiskopf
6adad5c300 Move random theme functionality into "random" theme
The statements for selecting a random theme in oh-my-zsh.sh and the themes
plugin are duplicate. Most people eventually settle on a theme, making those
lines in oh-my-zsh.sh superfluous. To address those, it may makes sense to put
the random theme functionality into a theme of its own (since themes are just
zsh scripts.
2020-02-19 18:20:28 +01:00
Sir Mobus Gochfulshigan Dorphin Esquire XXIII
eeb49bf5b0
systemd: add prompt function to show systemd units' status (#7657)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-18 23:04:14 +01:00
Ujwal Dhakal
e8609b857c
git: add grename to rename a local branch and in the origin remote (#8622)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-18 21:05:52 +01:00
Kshitij Nikhal
47eae26bf6
web-search: add wolframalpha search engine (#8638) 2020-02-18 10:20:54 +01:00
Marc Cornellà
1381da15a4
arcanist: document aliases 2020-02-17 17:47:43 +01:00
Alexandre GOMES
fbbfd0f8a8
arcanist: add arc diff --create alias (#8610) 2020-02-17 17:44:48 +01:00
Harry
0bcecf2f63
dotnet: use official dotnet completion (#8518) 2020-02-15 19:19:57 +01:00