Commit graph

5,918 commits

Author SHA1 Message Date
Mark Mercado
2e9de78ce4 feat(plugins): add grc plugin for Generic Colouriser (#9315)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Joseph Heyburn
ac4de0de49 fix(git): silently fail in git_main_branch if not in a git repo (#9484)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Marc Cornellà
271a607c58 chore: add Josh Medeski as wp-cli plugin maintainer 2021-03-21 13:37:49 -04:00
ratijas
3871488913 refactor(archlinux): prevent leaking local variables (#9476)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Veesar
c28d02e371 feat(wp-cli): add aliases for DB management (#9469) 2021-03-21 13:37:49 -04:00
Marc Cornellà
1818ed6685 feat(lib)!: soft-deprecate upgrade_oh_my_zsh function for everybody
BREAKING CHANGE: the `upgrade_oh_my_zsh` function now calls `omz update` directly.
2021-03-21 13:37:49 -04:00
Marc Cornellà
f351559580 fix(changelog): fix assoc array syntax for zsh 5.4.2 and older (#9495)
Also fixed a call to a defunct display:type-header function in displaying
breaking changes.
2021-03-21 13:37:49 -04:00
Marc Cornellà
92afc883c4 fix(updater): don't show changelog when running unattended update (#9495)
Fixes #9495
2021-03-21 13:37:49 -04:00
赵崇延
004bcf0cc5 fix(command-not-found): show error in Ubuntu when no package is found (#9418) 2021-03-21 13:37:49 -04:00
Marc Cornellà
23472c9c43 fix(changelog): fix highlight of codeblocks in subject 2021-03-21 13:37:49 -04:00
Marc Cornellà
281a804917 feat(CLI): add --unattended flag to omz update to not reload zsh (#9187) 2021-03-21 13:37:49 -04:00
Marc Cornellà
a9e962fe72 fix(updater): properly show changelog via less 2021-03-21 13:37:49 -04:00
Stimim Chen
2b5f522075 fix(git-prompt): make gitstatus.py python3-compatible (#9186)
check_output() in get_tagname_or_hash() returns bytes instead of str in
python3.  Decode the return value to utf-8, this works in both python2
and python3.

Co-authored-by: Stimim Chen <stimim@google.com>
2021-03-21 13:37:49 -04:00
Marc Cornellà
dc89cdc39c fix(updater): fix ignored variable name in read
I used _ which is a convention in other languages, but in shell scripting
$_ is a special variable set by the shell, and in Zsh versions older than
5.0.6 it complains for being a `read-only variable`.

Fixes #9482
2021-03-21 13:37:49 -04:00
Marc Cornellà
9e61673813 fix(updater): make sure to run it with zsh 2021-03-21 13:37:49 -04:00
Marc Cornellà
7abef85965 feat(CLI): add omz changelog command 2021-03-21 13:37:49 -04:00
Marc Cornellà
d789ddb553 feat(updater): add changelog display by parsing the commit list 2021-03-21 13:37:49 -04:00
Marc Cornellà
db4435a1e6 fix(updater): correctly restart the zsh session when the update pulled changes 2021-03-21 13:37:49 -04:00
Marc Cornellà
73dcbf6dad refactor(updater): switch to Zsh execution and fix git remote detection logic 2021-03-21 13:37:49 -04:00
Marc Cornellà
af206e793c fix(git-auto-fetch): background git-fetch-all and other fixes (#9468) 2021-03-21 13:37:49 -04:00
Marc Cornellà
943b94623d fix(magic-enter): fix various bugs in the plugin (#9466) 2021-03-21 13:37:49 -04:00
Peter Kingswell
1412f08b45 Merge branch 'master' of https://github.com/sming/ohmyzsh 2020-11-24 16:20:52 -05:00
Peter Kingswell
2f780fb7c5 various improvements 2020-11-24 16:19:40 -05:00
Eugéne Roux
7a76afd61e
style(ansible): minor style change (#8356) 2020-11-22 15:42:39 +01:00
Mohamed El Mouctar Haidara
88b3f028f4
feat(terraform): add autocompletion for Terraform 0.13 (#9226) 2020-11-20 18:45:31 +01:00
Septs
d57131dc49
fix(shell-proxy): change NAME env variable for WSL clash (#9447) 2020-11-20 12:42:51 +01:00
Peter Kingswell
628fe75ce3 merged in master & gfind improvements 2020-11-19 21:01:14 -05:00
Peter Kingswell
6d11dace69 stuff 2020-11-19 21:01:14 -05:00
Peter Kingswell
6dec4d414f stuff 2020-11-19 21:01:14 -05:00
System Administrator
41215e8091 added my fishy 2020-11-19 21:01:14 -05:00
Peter Kingswell
d1be9bba2e some new functions 2020-11-19 21:01:14 -05:00
Felipe Contreras
e92a4667cb
feat(gitfast): update to git-completion 1.2 (#9458)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2020-11-19 19:45:19 +01:00
Roman Danyk
ce836647e5
feat(aws): respect optional parameters from the AWS CLI config file (#9453) 2020-11-19 17:24:09 +01:00
ratijas
9b119866dd
refactor(colored-man-pages): move nroff wrapper and refactor logic in colored function (#9437) 2020-11-12 19:32:17 +01:00
Alisson B. Santos
51772732f5
feat(git): support trunk branches in git_main_branch (#9417) 2020-11-12 16:17:28 +01:00
Subhaditya Nath
874d83f7b8
feat(sudo): support aliases to $EDITOR (#9431)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-11-11 21:25:32 +01:00
Rob Vadai
1beac5958e
docs(aws): add config examples (#9422) 2020-11-11 16:14:57 +01:00
Marc Cornellà
dc4692b53e
fix(aws): fix acp function for MFA without role and other fixes (#9426)
* fix(aws): don't duplicate aws_prompt_info function in RPROMPT

* refactor(aws): clean up logic in acp function and fix session duration input

Fixes #9409
2020-11-10 23:20:51 +01:00
Nacho González-Garilleti
fc82aff77c
docs(thefuck): add description for enabling the plugin (#9433)
Add a description about adding thefuck to the plugins list
2020-11-10 17:15:54 +01:00
aimuz
5d8e1f8267
fix(battery): use pmset for battery percentage in macOS (#9364)
Returns the battery charge consistent with the system battery manager
2020-11-10 17:14:30 +01:00
Marc Cornellà
eef04c62c2 fix(installer): fix error message if $ZSH exists when installing
Also prefix all formatting functions with fmt_

Related: #9427
2020-11-09 20:06:19 +01:00
Marc Cornellà
a3e0f4f2af fix(lib): make opts local in omz_urlencode to fix scoping bug
Fixes error message when using zplug, due to $opts having been declared
as an associative array:

  omz_urlencode:2: bad set of key/value pairs for associative array

Fixes #9429
2020-11-09 18:33:59 +01:00
Elyézer Rezende
fa780867d9
fix(fzf): consistently ignore .git directory in FZF_DEFAULT_COMMAND (#9421)
Be consistent and ignore contents of `.git` directory no matter how FZF_DEFAULT_COMMAND is set.
2020-11-09 12:09:10 +01:00
Marc Cornellà
28ed2880c7 Revert "lib: remove share_history"
This reverts commit 2376022890.

Fixes #9430
2020-11-09 12:00:15 +01:00
Maksym
3e6ee85a16
fix(aws): support MFA for profiles without role to assume (#9411)
Previously, the plugin only supported MFA for profiles that had a role to assume, specified in role_arn. Now, the plugin supports MFA for profiles without a role to assume.

Closes #9408

* refactor(aws plugin): remove dependency on jq

Previously, acp command relied on jq. Now that dependency has been removed, as well as some linter suggestions implemented.
2020-11-04 22:10:22 +01:00
Maksym
852a44094a
aws: split setting profile from changing profile (#9402)
the change to assume a role when it is specified in configuration broke some workflows. This fix addresses that

Fixes #9394
2020-10-29 22:13:36 +01:00
Marc Cornellà
39c79493fe Add maintainer for aws plugin 2020-10-29 12:22:50 +01:00
Setu Shah
77f7457051
aws: get and set session token if available (#9397) 2020-10-29 11:55:41 +01:00
spreiter
47d30784c5
colorize: add compatibility for zsh < 5.1 (#9400)
The direct assignment of a local array is not possible in older ZSH version, as used by RHEL/CentOS 7.
2020-10-29 11:54:29 +01:00
Marc Cornellà
63922b5ec4 Fix labels in issue templates 2020-10-28 23:08:19 +01:00