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

5880 commits

Author SHA1 Message Date
Marc Cornellà
ff987384cf core: fix cmp invocation in BSD systems
BSD cmp doesn't have the option of reading from stdin, so use process
substitution instead.
2020-05-05 12:13:45 +02:00
Marc Cornellà
dd1a72696f
core: refresh zcompdump cache file in init script (#8878) 2020-05-04 16:51:16 +02:00
Marc Cornellà
173d4ca68f core: move core folder to lib, for now 2020-05-01 19:15:14 +02:00
Marc Cornellà
07bcf041c0
core: add basic Oh My Zsh CLI (#8876) 2020-05-01 19:02:29 +02:00
Ross Goldberg
06b0276675
sdk: support completion of new commands in 5.8.0 (#8870) 2020-04-30 20:28:07 +02:00
Marc Cornellà
58a1a1397e
meta: add Ross Goldberg as owner of the sdk plugin 2020-04-30 19:21:17 +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
Marc Cornellà
31eca46ee3
meta: basic CODEOWNERS file (gitfast plugin)
https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
2020-04-14 16:52:04 +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à
0caae9082a lib: speed up slow parts of the lib files; other small fixes 2020-04-05 21:37:45 +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à
d247f98d3e nebirhos: use short hostname in prompt
Fixes #6050
2020-03-26 12:39:51 +01: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
Marc Cornellà
27f4e07932 updater: use hardcoded color sequences instead of tput 2020-03-11 14:28:37 +01:00
Marc Cornellà
6ba2d9de3d updater: use git config instead of git -c for git < v1.7.2
Fixes #8732
2020-03-11 14:28:15 +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à
2eb3e9d57c
lib: support konsole* $TERM in title function (#8035) 2020-03-05 17:26:16 +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