Marc Cornellà and GitHub
57e8c959a0
style(installer): use rainbow logo and polish success message ( #10211 )
2021-09-23 18:28:34 +02:00
d87f29f564
refactor(vim-interaction): clean up code and open gvim instance if none open ( #10209 )
...
Co-authored-by: Kevin Bader <keb@visotech.at >
2021-09-23 12:33:37 +02:00
Marc Cornellà and GitHub
33847956d9
fix(colemak): remove lesskey usage in less v582 and newer ( #10102 )
2021-08-17 09:37:01 +02:00
Marc Cornellà and GitHub
308b2314f8
fix(dirhistory): fix ALT+Left/Right key bindings for iTerm2 ( #9940 )
2021-05-28 10:47:02 +02:00
Marc Cornellà and GitHub
1bda62dffa
feat(shrink-path): add ability to toggle off path shrinking ( #9794 )
2021-05-21 21:57:34 +02:00
Marc Cornellà and GitHub
69507c9518
refactor(adben): refactor theme and degrade gracefully on missing dependencies ( #9734 )
2021-03-28 15:28:01 +02:00
3bb5e97762
feat(gentoo)!: use vcs_info to support other VCSs ( #9440 )
...
* prettify vcs infomation using `vcs_info`
* Show symbol when there are untracked files in git
Co-authored-by: freeyoung <ourbaozi@qq.com >
2021-03-13 13:51:26 +01:00
Marc Cornellà
d978f385e5
fix(updater): refresh date of last update only on successful update
2021-01-21 11:52:09 +01:00
Marc Cornellà
86f805280f
fix(changelog): display scope in breaking change messages
2021-01-05 19:17:27 +01:00
Marc Cornellà
6b57839292
fix(CLI): show symlinked themes in omz theme list
2021-01-05 19:09:57 +01:00
Marc Cornellà
64cb153084
chore: add Konfekt as universalarchive maintainer
2021-01-05 18:58:23 +01:00
Marc Cornellà
2118d35e01
fix(vi-mode)!: add back edit-command-line key binding as 'vv' ( #9573 )
...
BREAKING CHANGE: the key binding to open an editor to edit the command line has
been moved from being `v` (press v once) to being `vv` (press v twice). Now, the
action for `v` is the default `visual-mode`, as is in Vim.
Fixes #9573
2021-01-04 21:41:11 +01:00
Marc Cornellà
79980b00fb
fix(vi-mode): hide cursor-change logic behind VI_MODE_SET_CURSOR setting
...
Fixes #9570
2021-01-04 21:31:07 +01:00
Marc Cornellà
94ce46d48b
docs(vi-mode): revamp README and document settings
2021-01-04 21:31:07 +01:00
Marc Cornellà
0e833b622b
refactor(vi-mode): remove duplicate bindkey logic and fix syntax
2021-01-02 23:59:55 +01:00
Marc Cornellà
0f6836701d
fix(CLI): properly get zsh command in omz update ( #9558 )
...
Zsh versions older than 5.3 don't have ZSH_ARGZERO, so use an alternative
method to get the zsh command.
Fixes #9558
2020-12-31 23:20:24 +01:00
Marc Cornellà
a4a79eaa8c
fix(changelog): remove CR characters in breaking change messages
...
The GitHub UI might not remove CR characters from commit description forms
filled from a Windows browser.
2020-12-30 20:02:24 +01:00
Marc Cornellà
4b2431e8b1
fix(updater): don't pipe changelog to less when updating
...
Fixes #9509
2020-12-28 19:40:03 +01:00
Marc Cornellà
90ffda7ed2
fix(genpass): use log() instead of log2() for zsh < 5.6 ( #9548 )
...
Fixes #9548
2020-12-27 20:51:39 +01:00
Marc Cornellà and GitHub
e9991c6aa0
chore: update git-lfs maintainer handle
2020-12-25 19:39:42 +01:00
Marc Cornellà
f2a4b2b17b
fix(genpass): in genpass-xkcd, add warnings and make it compatible with macOS
...
Closes #9515
Closes #9516
2020-12-14 15:52:32 +01:00
Marc Cornellà
076f7f1eb1
fix(genpass): warn if no wordlist is found
2020-12-14 15:52:30 +01:00
Marc Cornellà
e2c73cf59a
fix(changelog): allow breaking change message to span multiple lines
...
This also allows the option to put extra paragraphs after the BREAKING CHANGE
message while properly displaying the breaking change message. Useful, for
example, to add signed-off or co-authored lines.
2020-12-12 14:22:26 +01:00
Marc Cornellà
e8e37eedbc
feat(updater): save version prior to updating so omz changelog just works™
...
Fixes #9505
2020-12-12 13:50:53 +01:00
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
2020-12-11 16:54:22 +01:00
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 ).
2020-12-10 20:48:40 +01:00
Marc Cornellà
79d0182a26
refactor(hanami): change global aliases and clean up README
2020-12-10 20:38:19 +01:00
Marc Cornellà and GitHub
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 ).
2020-12-09 23:17:53 +01:00
Marc Cornellà
5feb2b6742
Document fd alias change in README
2020-12-09 23:11:31 +01:00
Marc Cornellà
452586e79a
chore: add Josh Medeski as wp-cli plugin maintainer
2020-12-07 22:01:43 +01:00
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.
2020-12-07 20:58:12 +01:00
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.
2020-12-07 20:58:12 +01:00
Marc Cornellà
5a888ff4ac
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
2020-12-07 20:58:12 +01:00
Marc Cornellà
4f8964d8ff
fix(changelog): fix highlight of codeblocks in subject
2020-12-04 12:38:32 +01:00
Marc Cornellà
1aa2b18e29
feat(CLI): add --unattended flag to omz update to not reload zsh ( #9187 )
2020-12-04 12:34:01 +01:00
Marc Cornellà
81bbe86db0
fix(updater): properly show changelog via less
2020-12-04 12:33:36 +01:00
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
2020-12-02 11:57:37 +01:00
Marc Cornellà
021f0251e0
fix(updater): make sure to run it with zsh
2020-12-01 11:12:31 +01:00
Marc Cornellà
7712da89ee
feat(CLI): add omz changelog command
2020-11-30 15:48:46 +01:00
Marc Cornellà
eeab4e5186
feat(updater): add changelog display by parsing the commit list
2020-11-30 15:48:46 +01:00
Marc Cornellà
e093a4cf62
fix(updater): correctly restart the zsh session when the update pulled changes
2020-11-30 15:48:46 +01:00
Marc Cornellà
889cd7acf3
refactor(updater): switch to Zsh execution and fix git remote detection logic
2020-11-30 15:48:46 +01:00
Marc Cornellà and GitHub
05e2956dc6
fix(git-auto-fetch): background git-fetch-all and other fixes ( #9468 )
2020-11-26 22:27:07 +01:00
Marc Cornellà and GitHub
d88887195f
fix(magic-enter): fix various bugs in the plugin ( #9466 )
2020-11-25 20:14:28 +01:00
Marc Cornellà and GitHub
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
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
Marc Cornellà
28ed2880c7
Revert "lib: remove share_history"
...
This reverts commit 2376022890 .
Fixes #9430
2020-11-09 12:00:15 +01:00
Marc Cornellà
39c79493fe
Add maintainer for aws plugin
2020-10-29 12:22:50 +01:00
Marc Cornellà
63922b5ec4
Fix labels in issue templates
2020-10-28 23:08:19 +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
Marc Cornellà and GitHub
3b1699b595
npx: deprecate plugin
...
Fixes #9366
2020-10-21 20:01:10 +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à and GitHub
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
Marc Cornellà
53cbd658f5
globalias: use ${(z)var} to split into words using shell parsing
2020-10-14 17:23:03 +02:00
Marc Cornellà
568a977d20
safe-paste: fix _bracketed_paste_zle_init/finish error
...
Fixes #9337
2020-10-13 20:34:01 +02:00
Marc Cornellà and GitHub
1e25abacad
meta: add checklist instructions on Pull Request template
2020-10-13 11:27:14 +02:00
Marc Cornellà and Sean Hellum
2657c87f0a
Add gitpod integration
...
Fixes #8212
Co-authored-by: Sean Hellum <seanhellum45@gmail.com >
2020-10-11 21:30:32 +02:00
Marc Cornellà and GitHub
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
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
Marc Cornellà
8163f65084
nvm: exit the plugin if the nvm loading script wasn't found
2020-10-09 17:21:03 +02:00
Marc Cornellà
a33c0cdb46
nvm: only lazy-load nvm if the NVM_LAZY setting is set
2020-10-09 17:21:03 +02:00
Marc Cornellà
d8cb670235
nvm: simplify nvm.sh and bash completion loading
2020-10-09 17:21:03 +02:00
Marc Cornellà
fc6c9ca4b4
lib: fix formatting in omz pr clean CLI command
2020-10-09 15:03:03 +02:00
Marc Cornellà and Rishabh Bohra
1bb402190d
lib: add plugin and theme subcommands and fix omz pr clean
...
- Add plugin and theme subcommand
Fixes #8961
- Add confirmation prompt to `omz pr clean` command
- Correct behavior on invalid answers on confirmation prompts
If an invalid option is supplied, don't proceed with the potentially
destructive action.
Co-authored-by: Rishabh Bohra <rishabhbohra01@gmail.com >
2020-10-09 13:55:56 +02:00
Marc Cornellà
6811a48618
Merge branch 'TheDauthi/enhanced-status-prompt' ( #5531 )
...
Closes #5531
2020-10-09 13:45:29 +02:00
Marc Cornellà
865f6572d5
Fix performance drop of iterating over lines and other stuff
...
- Fix 'STASHED' key and unsupported syntax in 5.0.2
- Optimise `if` statement to make it more idiomatic.
2020-10-09 13:44:50 +02:00
Marc Cornellà
6ebf27b8d3
Revert "Remove redundant bashcompinit calls"
...
This reverts commit f776af2a1f .
Fixes #9314
2020-10-05 17:20:02 +02:00
Marc Cornellà
fbb2b56c7e
fino: stop bold with prompt sequence
...
Fixes weird bug when completing.
2020-10-05 12:05:47 +02:00
Marc Cornellà
c549387745
git: fix version check
2020-10-04 13:09:32 +02:00
Marc Cornellà
89278c71b2
bundler: refactor bundler plugin and clean up gem wrappers
2020-10-03 18:41:42 +02:00
Marc Cornellà
f776af2a1f
Remove redundant bashcompinit calls
...
Fixes #9246
2020-09-30 19:00:51 +02:00
Marc Cornellà
274df9dc29
lib: support simple terminal in title function
...
Fixes #9295
2020-09-29 18:34:35 +02:00
Marc Cornellà
2b59d052ef
composer: autoload cache functions
...
Fixes #9236
2020-09-29 12:06:39 +02:00
Marc Cornellà
4ec055b890
lib: support alacritty $TERM in title function
2020-09-28 22:25:10 +02:00
Marc Cornellà and GitHub
53259f628b
bgnotify: use $2 in preexec hook if $1 is empty
...
Fixes #5803
2020-09-28 12:09:20 +02:00
Marc Cornellà
765966606d
lib: correct :q syntax in title function for clarity
2020-09-27 14:15:50 +02:00
Marc Cornellà
cacf5d0435
Fix image alignment
2020-09-26 13:08:03 +02:00
Marc Cornellà
1be75bbc27
Right-align table in README
2020-09-26 13:07:14 +02:00
Marc Cornellà
671745f496
A few README tweaks
2020-09-26 13:05:31 +02:00
Marc Cornellà
73696c6faa
laravel5: clean up
2020-09-26 12:38:31 +02:00
Marc Cornellà
d14bddf6d7
agnoster: allow disabling AWS prompt with SHOW_AWS_PROMPT=false
...
Fixes #8040
2020-09-26 12:25:30 +02:00
Marc Cornellà
caff704f41
lib: clean up zsh_stats function
2020-09-26 12:17:12 +02:00
Marc Cornellà
bcc859e012
avit: reenable use of $fg instead of prompt sequence colors to fix weird bug
...
Fixes #9232
2020-09-26 12:15:59 +02:00
Marc Cornellà and James Eapen
93c837fec8
random: add ZSH_THEME_RANDOM_QUIET setting
...
Fixes #9180
Co-authored-by: James Eapen <jamespeapen@gmail.com >
2020-09-20 13:41:21 +02:00
Marc Cornellà
38f276a732
docker: document option-stacking setting
...
Fixes #9266
2020-09-18 22:02:10 +02:00
Marc Cornellà
bc9d4b89bb
Remove racially-charged language from the codebase
...
The ZSH_THEME_RANDOM_BLACKLIST variable will be deprecated until it's
removed 2 months from now.
2020-09-18 19:43:44 +02:00
Marc Cornellà and GitHub
8a93c89bda
meta: change support label
2020-09-12 11:59:06 +02:00
Marc Cornellà and GitHub
b3923eded9
meta: change feature label
2020-09-12 11:58:47 +02:00
Marc Cornellà
415be382ca
sublime: add Sublime Text 4 path for macOS
...
Fixes #9153
2020-09-04 22:12:21 +02:00
Marc Cornellà
dc59c661ac
common-aliases: lazily assign $BROWSER, $EDITOR and $XIVIEWER in ext aliases
...
Fixes #9212
2020-09-04 21:56:04 +02:00
Marc Cornellà
50dc4ab357
lib: treat _ and - as part of a word
...
Fixes #8743
2020-09-04 21:54:05 +02:00
Marc Cornellà
28ee5846bb
init: define $ZSH if not defined
...
Closes #9223
2020-09-04 21:50:00 +02:00