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

3468 commits

Author SHA1 Message Date
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