Marc Cornellà
e8e37eedbc
feat(updater): save version prior to updating so `omz changelog` just works™
...
Fixes #9505
6 years ago
Aaron Toponce
9d6b3984f9
feat(plugins): add genpass plugin with 3 distinct password generators ( #9502 )
6 years ago
Marc Cornellà
9181954255
fix(composer): autoload `_cache_invalid` for antigen compatibility
...
Antigen doesn't call `compinit` until the user prompt is about to be shown,
which means `_cache_invalid` isn't automatically autoloaded. This patch
fixes that, though we should work towards a better caching mechanism.
Fixes #9490
6 years ago
Marc Cornellà
28265812f8
chore!: notify breaking change in `git_prompt_info`
...
BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188 ).
6 years ago
Bruno Borges
2f39c68ab0
feat(lib): show upstream branch in `git_prompt_info` ( #9188 )
...
Show the remote branch the local branch is tracking if `ZSH_THEME_GIT_SHOW_UPSTREAM`
is set, like so: `ZSH_THEME_GIT_SHOW_UPSTREAM=1`.
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Marc Cornellà
79d0182a26
refactor(hanami): change global aliases and clean up README
6 years ago
Marc Cornellà
e4082a951f
fix(common-aliases)!: don't overshadow `fd` if installed ( #9162 )
...
BREAKING CHANGE: in `common-aliases`, the `fd` alias won't be defined if `fd` is installed (https://github.com/sharkdp/fd ).
6 years ago
Marc Cornellà
5feb2b6742
Document fd alias change in README
6 years ago
Rohit Goswami
fbee1ff8bd
fd: Rework command to be more idiomatic
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Mark Mercado
e5af22cca6
feat(plugins): add grc plugin for Generic Colouriser ( #9315 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Joseph Heyburn
e2f2489a66
fix(git): silently fail in `git_main_branch` if not in a git repo ( #9484 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Marc Cornellà
452586e79a
chore: add Josh Medeski as `wp-cli` plugin maintainer
6 years ago
ratijas
865d2d8a53
refactor(archlinux): prevent leaking local variables ( #9476 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Veesar
e48be7dfc8
feat(wp-cli): add aliases for DB management ( #9469 )
6 years ago
Marc Cornellà
4b7dba5b75
feat(lib)!: soft-deprecate `upgrade_oh_my_zsh` function for everybody
...
BREAKING CHANGE: the `upgrade_oh_my_zsh` function now calls `omz update` directly.
6 years ago
Marc Cornellà
92fa8153d5
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.
6 years ago
Marc Cornellà
5a888ff4ac
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
6 years ago
赵崇延
fa1911f89e
fix(command-not-found): show error in Ubuntu when no package is found ( #9418 )
6 years ago
Marc Cornellà
4f8964d8ff
fix(changelog): fix highlight of codeblocks in subject
6 years ago
Marc Cornellà
1aa2b18e29
feat(CLI): add `--unattended` flag to `omz update` to not reload zsh ( #9187 )
6 years ago
Marc Cornellà
81bbe86db0
fix(updater): properly show changelog via `less`
6 years ago
Stimim Chen
1ac40cd445
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>
6 years ago
Marc Cornellà
3f8af040e9
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
6 years ago
Marc Cornellà
021f0251e0
fix(updater): make sure to run it with zsh
6 years ago
Marc Cornellà
7712da89ee
feat(CLI): add `omz changelog` command
6 years ago
Marc Cornellà
eeab4e5186
feat(updater): add changelog display by parsing the commit list
6 years ago
Marc Cornellà
e093a4cf62
fix(updater): correctly restart the zsh session when the update pulled changes
6 years ago
Marc Cornellà
889cd7acf3
refactor(updater): switch to Zsh execution and fix git remote detection logic
6 years ago
Marc Cornellà
05e2956dc6
fix(git-auto-fetch): background `git-fetch-all` and other fixes ( #9468 )
6 years ago
Marc Cornellà
d88887195f
fix(magic-enter): fix various bugs in the plugin ( #9466 )
6 years ago
Eugéne Roux
7a76afd61e
style(ansible): minor style change ( #8356 )
6 years ago
Mohamed El Mouctar Haidara
88b3f028f4
feat(terraform): add autocompletion for Terraform 0.13 ( #9226 )
6 years ago
Septs
d57131dc49
fix(shell-proxy): change NAME env variable for WSL clash ( #9447 )
6 years ago
Felipe Contreras
e92a4667cb
feat(gitfast): update to git-completion 1.2 ( #9458 )
...
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
6 years ago
Roman Danyk
ce836647e5
feat(aws): respect optional parameters from the AWS CLI config file ( #9453 )
6 years ago
ratijas
9b119866dd
refactor(colored-man-pages): move nroff wrapper and refactor logic in `colored` function ( #9437 )
6 years ago
Alisson B. Santos
51772732f5
feat(git): support trunk branches in `git_main_branch` ( #9417 )
6 years ago
Subhaditya Nath
874d83f7b8
feat(sudo): support aliases to $EDITOR ( #9431 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Rob Vadai
1beac5958e
docs(aws): add config examples ( #9422 )
6 years ago
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
6 years ago
Nacho González-Garilleti
fc82aff77c
docs(thefuck): add description for enabling the plugin ( #9433 )
...
Add a description about adding thefuck to the plugins list
6 years ago
aimuz
5d8e1f8267
fix(battery): use `pmset` for battery percentage in macOS ( #9364 )
...
Returns the battery charge consistent with the system battery manager
6 years ago
Marc Cornellà
eef04c62c2
fix(installer): fix error message if $ZSH exists when installing
...
Also prefix all formatting functions with fmt_
Related: #9427
6 years ago
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
6 years ago
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.
6 years ago
Marc Cornellà
28ed2880c7
Revert "lib: remove share_history"
...
This reverts commit 2376022890 .
Fixes #9430
6 years ago
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.
6 years ago
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
6 years ago
Marc Cornellà
39c79493fe
Add maintainer for aws plugin
6 years ago
Setu Shah
77f7457051
aws: get and set session token if available ( #9397 )
6 years ago