Commit Graph

7270 Commits

Author SHA1 Message Date
Kiran Koirala
9af7ebcf36
fix(nvm): use command cat to avoid alias (#12410) 2024-05-10 12:08:35 +02:00
Kiran Koirala
b1af78d64d
fix(nvm): use nvm version when needed (#12409) 2024-05-10 09:27:47 +02:00
Atk
5947c3c3c9
feat(dependencies): add wd (#12405)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-05-09 16:57:30 +02:00
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
2024-05-08 22:20:42 +02:00
Carlo Sala
8c5f64cc2f
feat(nvm): add corepack to lazy_cmd 2024-05-07 21:30:52 +02:00
Michael Gonzo
22bbc233e9
feat(python): autovenv keeps activated on subdirs (#12396)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-05-07 21:30:23 +02:00
Shai Coleman
668ca3a32d
fix(extract): zst now extracts as expected (#12395) 2024-05-03 21:43:53 +02:00
stefan
529f77a344
feat(termsupport): support alacritty* TERM (#12392)
Closes #12391
2024-05-02 15:11:18 +02:00
Antoine
8581ecd462
feat(autojump): add nix-darwin install path (#12389) 2024-05-01 11:04:12 +02:00
Carlo Sala
21963f4f67
fix(fzf): support old fzf versions
Closes #12387
2024-04-30 12:57:05 +02:00
Marc Cornellà
803e1a784c
fix(copybuffer): prevent which alias usage (#12379) 2024-04-25 08:04:18 +02:00
Carlo Sala
5d2d35cd17
fix(poetry-env): do not deactivate in a subdir
Closes #12377
2024-04-23 16:21:21 +02:00
John Matczak
ee69c14beb
feat(fishy): add color to username (#12369) 2024-04-23 10:54:00 +02:00
Zikoeng Xi
67581c53c6
fix(ssh-agent): add identity only if identity exists (#12371) 2024-04-22 21:37:17 +02:00
Marc Cornellà
0c80a063c3 chore(async): reenable async prompt by default on zsh < 5.0.6 (#12358)
Fixes #12331
2024-04-22 10:59:34 +02:00
Marc Cornellà
f78c6b90fc fix(async): fix crash on zsh < 5.0.6 (#12358) 2024-04-22 10:59:34 +02:00
Marc Cornellà
1b5503a3ee
feat(fzf): support fzf setup for 0.48.0 and older (#12367)
Fixes #12355
2024-04-19 21:57:46 +02:00
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`.
2024-04-18 10:49:34 +02:00
Marc Cornellà
80a651a6df
chore(updater): small typo 2024-04-18 07:48:33 +02:00
Marc Cornellà
56cfcb44e7
fix(updater): abort update if $ZSH is not a git repository
Fixes #12298
2024-04-18 07:33:13 +02:00
Marc Cornellà
c262ffbb68
fix(update): define $ZSH if undefined (#12273)
Fixes #12273
Fixes https://github.com/topgrade-rs/topgrade/issues/519
2024-04-18 07:16:42 +02:00
Marc Cornellà
eafa78217d
fix(history): fix history -c (#12362)
Fixes #12362
2024-04-18 07:12:32 +02:00
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
2024-04-17 20:21:18 +02:00
Marc Cornellà
7ef3f49f97
fix(agnoster): prevent accidental alias use 2024-04-16 20:04:25 +02:00
Martin Hans
efa8de0b52
fix(history): fix edge cases introduced in #12341 (#12357) 2024-04-16 19:38:58 +02:00
Jhon Pedroza
b26000d168
feat(tmux): sessions named as current dir (#12351) 2024-04-16 09:52:12 +02:00
Kate Sullivan
31f2025e0f
feat(poetry-env): support changing between two venv dirs (#12346)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-04-12 09:24:54 +02:00
joél hawkins torres
6e9d57d5ab
fix(yarn): use builtin cd in completion (#12347) 2024-04-11 19:27:29 +02:00
Ruize Tang
53c4c4671a
fix(shell-proxy): support ssh-proxy using http proxy in cygwin (#12340) 2024-04-10 15:39:19 +02:00
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
2024-04-09 18:09:26 +02:00
Bartek Pacia
f85f501bcf
feat(macos): ofd now opens any directory (#12337)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-04-09 12:19:14 +02:00
Taekin Kim
ef40286483
docs: fix typo (#12339) 2024-04-09 12:18:05 +02:00
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.
2024-04-09 08:07:57 +02:00
Soo Philip Jason Kim
3e2a5742cd
feat(git): add alias gmc for git merge --continue (#12326)
Co-authored-by: PJ Kim <pj.0x08@kakaocorp.com>
2024-04-08 22:40:15 +02:00
Reza Askari
982ea721bd
feat(laravel): add artisan test alias (pats) (#12310) 2024-04-08 22:36:38 +02:00
Carlo Sala
5bff59f78e
docs(git): add gwipe alias 2024-04-08 22:05:23 +02:00
Matheus Richard
a6ce40df49
feat(git): introduce gwipe alias (#12302)
`gpristine` might be too much on several occasions, given that it removes all untracked files. This might not be ideal because it will delete important things like environment files and encryption keys.

With that in mind, this commit introduces `gwipe` as a way to get a "clean slate" but still have your dev environment working.
2024-04-08 08:48:57 -07:00
David Chin
bf713e2c11
Update README for git-prompt to clarify how to use (#10922)
* Add note about need to customise theme.

It may not be obvious that the theme needs to be customised. See: https://github.com/ohmyzsh/ohmyzsh/issues/9395

* Clarify type of theme customisation needed.
2024-04-06 10:23:19 -07:00
Dee'Kej
d893dd9b83
fix(autojump): add macOS 'pkgsrc' installation location (#12329) 2024-04-06 19:12:05 +02:00
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
2024-04-05 07:38:36 +02:00
Loïc Yhuel
9d529c41cc
perf(async): avoid executing true if not required (#12318)
The issue which required "command true" was fixed in zsh 5.8.
2024-04-04 16:20:20 +02:00
Carlo Sala
114b58ed4e
fix(git): disable locally ksharrays
Fixes #12321
2024-04-04 11:58:43 +02:00
Carlo Sala
6d0362ef2f
fix(archlinux): make upgrade work with non-english
Closes #12316
2024-04-04 10:08:28 +02:00
Loïc Yhuel
04007a0e5d
feat(git): implement async completion for git_prompt_status (#12319)
This is important for themes using it, since it is usually a little slower than git_prompt_info.

Also two small fixes :
 - the handler for git_prompt_info was incorrectly named _omz_git_prompt_status
 - _defer_async_git_register was kept in precmd, there is no need to call it on each prompt
2024-04-03 21:32:16 +02:00
Marc Cornellà
ec1afe9dd6
feat(git)!: enable async git prompt (now for real)
BREAKING CHANGE: the new async prompt feature will render prompt information
asyncronously and degrade nicely when the calls take too long to finish, as
the prompt will already be first drawn and interactive. This is
enabled by default for the git prompt and themes that use it (`git_prompt_info`).
If you find that it's not working for you, please open an issue if one is
not already opened, and see https://github.com/ohmyzsh/ohmyzsh#disable-async-git-prompt
for how to turn it off.
2024-04-03 20:09:19 +02:00
Loïc Yhuel
b43b84abc7
fix(async): avoid blocking the shell while waiting (#12304)
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-04-03 19:42:47 +02:00
Gregory Reshetniak
130002a79e
feat(httpie): complete https command (#12314) 2024-04-03 09:10:33 +02:00
Jason D'Amour
6dfa9507ce
feat(gcloud): add homebrew installation path (#12308) 2024-03-30 08:26:14 +01:00
Masaru Iritani
62a76353ab
fix(starship): keep ZSH_THEME if not installed (#12309) 2024-03-30 08:25:34 +01:00
vladislav doster
1d09c6bb0a
style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00