1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 01:30:08 +00:00
Commit graph

7197 commits

Author SHA1 Message Date
Craig Furman
bfeeda1491
docs(theme-and-appearance): fix gnu-ls snippet (#11701) 2023-05-21 12:47:38 +02:00
Joe
7a030f6bd6
docs(pyenv): warn about pyenv init (#11692) 2023-05-15 15:27:31 +02:00
ZYX
f01eea76da
fix(aws): use the correct variable to assert region is defined (#11691) 2023-05-12 11:42:30 +02:00
roodkcab
aab3bfff9f
fix(robbyrussell) multiline command editing (#11681)
Co-authored-by: chenshuoshi <chenshuoshi@inagora.cn>

Closes #11680
2023-05-09 12:27:22 +02:00
Carlo Sala
aaf83d37aa
docs(theme-and-appearance): reflect properly dcff7a7 changes 2023-05-09 12:10:05 +02:00
Carlo Sala
dcff7a7f08
fix(theme-and-appearance): make bsd ls to be default 2023-05-09 12:05:15 +02:00
Mark Keisler
017e288560
fix(aws): correct access key disable command (#11671) 2023-05-06 13:40:06 +02:00
Carlo Sala
c5208867f1 feat(theme-and-appearance): allow disabling gnu-ls in bsd
To disable gnu-ls (`gls`) even if it's installed in freeBSD and macOS
you can set it up with:
```zsh
zstyle ':omz:lib:theme-and-appearance' gnu-ls no
```

Closes #11647
2023-05-06 13:39:01 +02:00
kang
5a3f565e7d
feat(deno): add dru alias for --unstable (#11667) 2023-05-03 17:48:37 +02:00
Carlo Sala
85fdbfe216
fix(apple): go back to previous icon
Turns out that <U+F8FF> is a reserved unicode code that is Apple logo in
Apple systems.
Nerd fonts was overwritting that code to other stuff in v2 and that's
why I thought it needed to be replaced.

Closes #11665

This reverts commit 693e3dcc44.
2023-05-03 11:19:41 +02:00
Oleg Grigoriev
dab09cc0ee
feat(rake-fast): show task descriptions in autocomplete (#11653) 2023-05-02 12:27:57 +02:00
Carlo Sala
693e3dcc44
fix(apple): replace deprecated nerdfonts icon 2023-05-02 10:03:24 +02:00
Carlo Sala
b22593cf17 fix(init): avoid overwriting existing aliases
Fix regression introduced in #11550. If an existing alias was present in
the moment of sourcing, and oh-my-zsh aliases were disabled for that
file, it'd be overwritten aswell. See #11658.
2023-05-01 22:52:13 +02:00
Bas Nijholt
2e7a247cab
feat(z): update to latest upstream version
Mirror of 6bfe418332
Closes #11652

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-28 09:07:43 +02:00
Carlo Sala
5fc1118fd2 chore(azure): fix typo 2023-04-27 19:46:29 +02:00
Carlo Sala
65699912be fix(azure): recognize properly linuxbrew
Closes #11644
2023-04-27 19:46:29 +02:00
Idan Fishman
343c78ae91
fix(aws): set properly set divider to space
Closes #11649

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-27 11:51:04 +02:00
Miguel Sempere
5d3e86e2a4
feat(dbt): create plugin (#11635)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-21 09:15:31 +02:00
Andrew Xie
07454029bd
feat(starship): create plugin (#10947)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-21 08:59:58 +02:00
Nathanial Spearing
91c7ed45a3
feat(npm): add npmrd alias (#11627) 2023-04-20 13:42:47 +02:00
Erin Schlarb
5b11e70a96
fix(cli): execute as expected if ksh_arrays is set (#11629) 2023-04-20 13:32:32 +02:00
Erin Schlarb
18c837b136
fix(dirhistory): run properly if ksh_arrays is set (#11630) 2023-04-20 13:30:49 +02:00
Roeniss Moon
9139d30ca3
feat(aws): allow more customisation in prompt function (#11619) 2023-04-19 15:46:10 +02:00
Mark Keisler
673b9fc331
feat(aws)!: improve aws_change_access_key (#11378)
BREAKING CHANGE: This commit removes compatibility for `aws` cli v1. Now only v2 is supported.
2023-04-18 10:36:07 +02:00
Carlo Sala
d889eca726
fix(check_for_upgrade): update properly LAST_EPOCH
Fixes #11617
2023-04-17 20:09:30 +02:00
Eddie Romanov
bd5ebba834
feat(pipenv): add pupd alias (#11616) 2023-04-16 09:49:04 +02:00
Josh McKinney
b4f9698733
docs(ssh-agent): macOS and p10k advices (#11612) 2023-04-11 10:41:00 +02:00
deimosian
4586808f86
feat(archlinux): improve update function messages (#11608) 2023-04-09 12:58:38 +02:00
deimosian
90ec2d1a68
fix(archlinux): keyring update function (#11607) 2023-04-09 10:24:55 +02:00
Aleks
ad99f0c164
feat(git): add merge squash alias (gms) (#10937) 2023-04-08 13:36:54 +02:00
Carlo Sala
e906a3130e
fix(azure): look properly for azure config file
Closes #11606
2023-04-08 11:13:30 +02:00
deimosian
9b1ef262bc
feat(archlinux): unify upgrade function (#11597)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-07 13:43:45 +02:00
Alexander Huynh
01c82c381d
fix(jump): even spacing between marks (#11601) 2023-04-07 13:35:12 +02:00
Marc Cornellà
49d34d00cd
fix(extract): fix conflict if compressed file has a folder of the same name
This change fixes the case where the compressed file (e.g. tools.tgz) only
contains a folder with the same name (e.g. tools) in its root folder.

tools.tgz:
|- tools
   |- fileA.txt
   |- fileB.txt
   \- fileC.txt

In that case, the "smart" folder creation mechanism will extract the files in
a folder "tools", and this extraction folder will contain a single folder with
the same name.

Before this fix, the tool would try to move out the inside folder to the parent
one, but there would already be a folder named "tools", so it would generate a
conflict.

This change first renames the inside folder to a random string, and only then
it is moved outside and the old extraction folder is deleted.
2023-04-06 21:06:16 +02:00
François M
cf0c800492
feat(toolbox)!: rename and add aliases (#11580) 2023-04-06 15:11:52 +02:00
Alexander Schlarb
25c2c3a468
feat(lib): send OSC 7 on directory change for more supported terminals (#9914)
Previously this was only emitted on macOS with Apple's Terminal.app (and
compatible clones like iTerm2), but it is used by other terminal emulators
as well to obtain the actual current working directory wiht symlinks intact.
All non-supporting terminal emulators tested gracefully ignored this value,
so emit this on these as well in case they (or some other app masquarading
as them) add future support for this value.

Closes #9914

Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-04-05 00:20:10 +02:00
Richard Mitchell
33aadeced0
feat(term_tab): add support for macOS (#11391) 2023-04-04 23:52:16 +02:00
Christian Parpart
8d23fbd696
feat(termsupport): add contour terminal (#11599)
Signed-off-by: Christian Parpart <christian@parpart.family>
2023-04-04 16:47:13 +02:00
Marc Cornellà
9233ef75f2
fix(init): don't use digits in parameter modifiers for compatibility (#11598)
Digit modifiers were introduced in zsh 5.7.1 [1]. This commit uses readily available
alternatives for backwards compatibility.

[1] https://github.com/zsh-users/zsh/commit/b8dc5a7f6d

Fixes #11598
2023-04-03 23:36:44 +02:00
Marc Cornellà
c7bb88f9ad
fix(changelog): ignore lines containing whitespace in breaking change commits 2023-04-03 23:27:14 +02:00
Marc Cornellà
1ad167dfac
feat(init)!: allow turning off aliases for libs and plugins (#11550)
BREAKING CHANGE: the previous zstyle setting to disable `lib/directories.zsh` aliases has
been changed to the new syntax: `zstyle ':omz:lib:directories' aliases no`. See
https://github.com/ohmyzsh/ohmyzsh#skip-aliases to see other ways you can use this setting.
    
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-03 23:14:36 +02:00
Marc Cornellà
f8bf88edca
chore(installer): remove words triggering false positives in antiviruses 2023-04-03 22:21:49 +02:00
Marc Cornellà
d47e1d65f6
fix(extract): safely remove extract directory
The previous code would remove the extract directory if the command failed.
This could be bad because we're not checking if the extract directory
already existed (since we're using `mkdir -p`), so it could be possible
that the extract operation failed, and we'd be removing a directory that
already existed and had files in it.

This change only removes the directory if there are no files in it, regardless
of whether the extract operation was successful or not. This is much safer.
2023-04-02 16:33:54 +02:00
Marc Cornellà
75405b7b0a
feat(extract): always extract files into its own folder (#11596) 2023-04-02 14:28:01 +02:00
Marc Cornellà
f7d903f3a3
fix(vi-mode): fix cursor change on visual mode (#11586)
Fixes #11586
2023-04-02 13:40:49 +02:00
Saverio Guzzo
68005b8870
docs(spotify): fix link (#11593) 2023-04-02 12:54:55 +02:00
Marc Cornellà
6ef236dd99
fix(updater): search for upstream remote if using non-conventional name (#11135)
Fixes #11135
2023-04-01 10:15:59 +02:00
Carlo Sala
029a6d2de8
fix(upgrade): typo in variable check 2023-03-31 15:30:19 +02:00
Marc Cornellà
cc99132104
fix(vi-mode): fix check for prompt redisplay on mode change (#11547) 2023-03-31 07:51:10 +02:00
Guy Sartorelli
b9c4e2e823
feat(changelog): provide links in changelog (#11578) 2023-03-31 07:49:59 +02:00