Jacopo De Simoi
66638e5d05
Force registering of async git_prompt_info
...
In my setup the $git_prompt_info variable is wrapped in a function;
hence it does not trigger the regex in the git library of oh-my-zsh.
This patches away the check and force registering the handler
I also remove the workaround that I previously inserted in the theme
2 weeks ago
Ranga Nirmal
88659ed193
fix(appearance): ensure arg separation in `test-ls-args` ( #13556 )
...
Co-authored-by: Marc Cornellà <marc@mcornella.com>
1 month ago
bretello
129aeee6bc
feat(clipboard): send value to tmux client when copying ( #13451 )
3 months ago
tDwtp
f84341c574
fix(git): git_status_prompt should respect spaces in prefixes ( #13478 )
3 months ago
Copilot
b52dd1a425
feat: Update OpenSwag domain references to CommitGoods ( #13434 )
...
* Initial plan
* Update all OpenSwag domain references to CommitGoods
Co-authored-by: robbyrussell <257+robbyrussell@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: robbyrussell <257+robbyrussell@users.noreply.github.com>
4 months ago
Copilot
8c5a60644a
feat: announce OpenSwag and `omz shop` command ( #13428 )
...
* Update shop URLs from Planet Argon to OpenSwag and add omz shop command
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: robbyrussell <257+robbyrussell@users.noreply.github.com>
Co-authored-by: mcornella <1441704+mcornella@users.noreply.github.com>
4 months ago
Alexey Trofimenko
99017b8eac
fix(key-bindings): ensure `<Esc-l>` works if line is not empty ( #13391 )
5 months ago
Marc Cornellà
c87eb79140
feat(cli): only allow `omz pr test` on PRs with `testers needed` label ( #13238 )
6 months ago
Carlo Sala
92a03105ac
docs(key-bindings): clarify comment
...
Closes #13265
7 months ago
jishudashen
e3e468d138
chore: fix typos ( #13219 )
8 months ago
Kevin De Keyser
2ac69955e8
fix(termsupport): ensure non-error return code ( #13217 )
8 months ago
James Langley
788eaa5930
fix(functions): escape especial chars in WSL ( #13158 )
9 months ago
G'lek Tarssza
095ac3ca8f
feat(cli): add `--enabled` flag to `omz plugin list` ( #13128 )
10 months ago
Ilia Burtsev
13c702964c
fix(async): ensure `git_prompt_status` can be registered ( #13134 )
10 months ago
Kirill Fedorov
40c2a72e03
fix(history): handle HIST_STAMPS with whitespace in timestamp format ( #13099 )
...
Co-authored-by: Kirill Fedorov <kfedorov@ibsys.ru>
10 months ago
tobii-dev
881c8b78d3
feat(termsupport): add WezTerm support ( #13121 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
10 months ago
Carlo Sala
f81259fb34
fix(cli): support `noexec` environments ( #13042 )
...
Closes #13032
12 months ago
Carlo Sala
5eaebdf0fe
fix(termsupport): ensure ohmyzsh can run with `set -eu`
...
Closes #12870
1 year ago
Marc Cornellà
85c4941492
fix(cli)!: remove harmful `--unattended` flag for `omz update` ( #12935 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
1 year ago
Carlo Sala
276e540eed
fix(cli): ensure `ksharrays` is unset
...
Closes #12900
1 year ago
Bin Chang
ccbe504f22
chore: fix some typos ( #12818 )
1 year ago
Carlo Sala
2a109d30af
feat(git): add escape hatch to enable async prompt
1 year ago
Henrik Holmboe
6a10a4d6a3
feat(grep): exclude Python virtualenv from `grep` ( #12685 )
...
The convention to use `.venv` or `venv` directories for Python virtualenvs is widespread.
This directory is huge and gives very little value when grepping in a source code directory.
Co-authored-by: Marc Cornellà <marc@mcornella.com>
1 year ago
Marc Cornellà
767c927a6d
fix(cli): add plugins with indentation in `omz plugin enable`
1 year ago
mnv
00b9b62385
refactor(bzr): simplify and improve code ( #12716 )
1 year ago
Marc Cornellà
f4423ebd09
feat(cli): style plugin README in `omz plugin info`
1 year ago
Carlo Sala
367e9381df
chore(git): fix typo
2 years ago
Carlo Sala
99e2c31484
feat(git): add `git_previous_branch` function
...
Closes #12538
2 years ago
Erik Teichmann
9bcafe1c27
feat(functions): add `takezip` ( #12670 )
2 years ago
Saravana J
33ac2ee30f
fix(git): update prefix map for modified files ( #12674 )
2 years ago
robertoaceves
efe21261d0
fix(grep): remove duplicate options ( #12639 )
2 years ago
Marc Cornellà
f70e6916a1
fix(lib): turn off `rematchpcre` option in `omz_urlencode` ( #12388 )
...
Fixes #12388
2 years ago
Jeonguk Choi
70cfff448d
feat(conda-env): add plugin for conda prompt display ( #10619 )
...
Co-authored-by: Jeonguk Choi <91456421+devj121@users.noreply.github.com>
2 years ago
Marc Cornellà
f2769acdfa
chore(history): show input in confirmation prompt
...
Fixes https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2175868971
2 years ago
Marc Cornellà
c83ca51b1b
fix(history): fix confirmation prompt to allow bypass
...
See https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2171461005
2 years ago
Nick Glenn
8908e6d720
fix(history): fix logic error in prompt for `history -c` ( #12500 )
...
Logic error in `history -c` when prompting for confirmation caused history
to be deleted when typing anything but explicitly `n`, `N`, or sending `\n`.
New logic prevents deletion by pressing wrong key and only deletes
history when sending `y` or `Y`.
Co-authored-by: Sargates <nicholas.g.glenn@gmail.com>
2 years ago
Marc Cornellà
35a6725970
fix(history): add warning before deleting command history in `history -c` ( #12472 )
2 years ago
Marc Cornellà
59e8e028e1
fix(lib/git): turn off async prompt for zsh < 5.0.6
...
We removed this mitigation in 0c80a063 because of an assumption
that the issue had been fixed, but it looks like zsh < 5.0.6 has
other issues (see #12360 ), so we need to disable it for real.
Fixes #12360
2 years ago
Marc Cornellà
b0561d28b5
fix(cli): fix edge cases in `omz plugin disable` command ( #12401 )
...
Also introduces tests, which will be refactored into the proper
place when a test system is finally designed.
Fixes #12400
2 years ago
stefan
529f77a344
feat(termsupport): support `alacritty*` TERM ( #12392 )
...
Closes #12391
2 years ago
Marc Cornellà
0c80a063c3
chore(async): reenable async prompt by default on zsh < 5.0.6 ( #12358 )
...
Fixes #12331
2 years ago
Marc Cornellà
f78c6b90fc
fix(async): fix crash on zsh < 5.0.6 ( #12358 )
2 years ago
Martin Hans
d17ca487a4
fix(history): add `t` option to history wrapper ( #12365 )
...
The `t` option takes a strftime format specification as argument. This
fixes cases in which $HIST_STAMPS is set to a value other than
`mm/dd/yyyy|dd.mm.yyyy|yyyy-mm-dd`.
2 years ago
Marc Cornellà
56cfcb44e7
fix(updater): abort update if `$ZSH` is not a git repository
...
Fixes #12298
2 years ago
Marc Cornellà
eafa78217d
fix(history): fix `history -c` ( #12362 )
...
Fixes #12362
2 years ago
Marc Cornellà
1ed8d4b555
fix(git): turn off async prompt by default on zsh < 5.0.6 ( #12331 )
...
See https://github.com/ohmyzsh/ohmyzsh/issues/12331#issuecomment-2059460268
2 years ago
Martin Hans
efa8de0b52
fix(history): fix edge cases introduced in #12341 ( #12357 )
2 years ago
MoAlkhateeb
605d76616a
fix(history): revert to old behavior when no args passed ( #12341 )
...
* Fixed a bug in *omz_history* where it would automatically create a file when run with the -p flag
* Reverted old history behaviour while fixing parsing bug
2 years ago
MoAlkhateeb
a8f7f9f707
fix(history)!: fix arg passing to `fc` for `history` command ( #12338 )
...
BREAKING CHANGE: we have fixed a bug in the `history` wrapper for OMZ which means
that running just history will now not show all the history since the 1st command,
but only recent ones. To get the previous behavior, you can run `history 1` to get
all the command history, or other commands such as `history -30` to get the last
30 commands.
2 years ago
Marc Cornellà
0389310390
fix(lib/git): fix detection of function use in prompt
...
RPS1 and RPROMPT are not equivalent, though they have the same effect.
Added both to detect if `git_prompt_*` is used.
Fixes #12325
2 years ago