0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
Commit graph

5888 commits

Author SHA1 Message Date
Septs
d57131dc49
fix(shell-proxy): change NAME env variable for WSL clash (#9447) 2020-11-20 12:42:51 +01: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
Felipe Contreras
d055445625
gitfast: fetch latest fixes from git-completion (#9390)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2020-10-27 11:14:39 +01:00
Marc Cornellà
bad9ee0004 lib: delete zsh session history list
NOTE: it still lives somewhere in the current zsh process. Run `fc -P` to
restore it.
2020-10-27 10:33:21 +01:00
Maksym
fcb6fa78a1
aws: add role delegation and MFA support as per IAM Best Practices (#8419)
* Added role delegation support and MFA support as per IAM Best Practices

* fix: grep with color enabled breaks profile parsing

* fix: compatible with MacOS basic sed

* docs: Added jq as a dependency

* feat: added variable session duration, if the role to be assumed permits it.

* bug: incorrect assigment for session length

* fix: profile extraction failed with some versions of sed

Fixed the issue that resulted from merging upstream changes to allow "." in the profile name

* fix: broken profile parsing when profile name contains "@"
2020-10-24 23:07:49 +02:00
Felipe Contreras
66f9fdabc1
gitfast: improve command aliases (#9385)
So that compdefs with dashes work as well as underscores:

  compdef _git gc=git_commit

Or:

  compdef _git gc=git-commit

The official Zsh Git completion uses dashes, and this way people don't
have to change their existing definitions.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2020-10-24 16:33:43 +02:00
Felipe Contreras
a32564e0ae
gitfast: update to latest upstream and more (#9382) 2020-10-24 14:12:23 +02:00
Marc Cornellà
3b1699b595
npx: deprecate plugin
Fixes #9366
2020-10-21 20:01:10 +02:00
Lucas Larson
80d2e4336b
Grammar: remove hyphens from predicate adjective “up to date” (#9356)
https://english.stackexchange.com/a/180617
https://web.archive.org/web/20190728053012id_/grammarist.com/usage/up-to-date/#text-60
2020-10-21 16:22:32 +02:00
Wenli Wan
bf5574fc93
kubectl: add aliases for serviceaccount, daemonsets and cronjob (#9344) 2020-10-21 16:09:54 +02:00
Marc Cornellà
3f42700c0d Revert "lib: treat _ and - as part of a word"
This reverts commit 50dc4ab357.

The community has spoken:
- https://github.com/ohmyzsh/ohmyzsh/issues/9367
- https://github.com/ohmyzsh/ohmyzsh/issues/8743

Fixes #9367
2020-10-21 16:02:34 +02:00
Marc Cornellà
7d73908223
fzf: add check for OpenSUSE and OpenBSD packages (#9327) 2020-10-20 23:48:59 +02:00
Marc Cornellà
f9f45ca222 lib: follow symlinked plugins in plugin list CLI command
See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
2020-10-20 15:57:11 +02:00
Marc Cornellà
7525b1d533 lib: allow bare output in theme and plugins list command 2020-10-18 21:25:03 +02:00
Marc Cornellà
902954d1cc lib: use column to format plugin and theme list CLI commands 2020-10-18 21:24:48 +02:00
Marc Cornellà
176376cbc0 kubectl: check for empty cache completion file 2020-10-17 23:14:58 +02:00
IsThisTheMatrix
5b717ab3e4
kubectl: verify kubectl is installed before running compdef (#9346) 2020-10-16 00:52:34 +02:00
Marc Cornellà
53cbd658f5 globalias: use ${(z)var} to split into words using shell parsing 2020-10-14 17:23:03 +02:00
Patrick W. Healy
e75aa2875e
globalias: expand filtering to anywhere in the command (#9338) 2020-10-14 16:57:59 +02:00
Marc Cornellà
568a977d20 safe-paste: fix _bracketed_paste_zle_init/finish error
Fixes #9337
2020-10-13 20:34:01 +02:00
Gonçalo Queirós
a39bee8d11
git-prompt: document Python prerequisite in README (#9336) 2020-10-13 11:28:51 +02:00
Marc Cornellà
1e25abacad
meta: add checklist instructions on Pull Request template 2020-10-13 11:27:14 +02:00
Marc Cornellà
2657c87f0a Add gitpod integration
Fixes #8212

Co-authored-by: Sean Hellum <seanhellum45@gmail.com>
2020-10-11 21:30:32 +02:00
VectorW
82856bfbd8
globalias: allow filtering values not to be expanded (#9331) 2020-10-11 21:23:21 +02:00
Ivan Dario Piernagorda Peña
fb80eb8e05
emacs: add ansi-term directory tracking (#9218) 2020-10-11 18:05:14 +02:00
Joshua Pratt
1744277a68
systemadmin: correct sort order for psmem aliases (#6253) 2020-10-11 14:17:21 +02:00
Marc Cornellà
fd51207701
Remove missing screenshots from kube-ps1 README (#9199)
Removes missing screenshots from README for kube-ps1 plugin.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-10-10 21:43:12 +02:00
Sreekanth S
c66d8a841d
agnoster: fix icon for unstaged git status (#9164) 2020-10-10 21:39:21 +02:00
Marc Cornellà
6e7b861675 lib: fix regex bug in git_prompt_status
Fixes #9326
2020-10-10 19:14:30 +02:00
Marc Cornellà
2376022890 lib: remove share_history
Related: #2537, #9324
2020-10-10 12:38:17 +02:00
Marc Cornellà
75ae0e905f lib: fix omz help and reword 2020-10-10 12:12:22 +02:00
Marc Cornellà
982d010be5 lib: fix fmt removing ESC characters in theme and plugin list CLI commands 2020-10-10 11:47:09 +02:00