1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-20 19:31:58 +00:00
Commit graph

7209 commits

Author SHA1 Message Date
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
Webpage-gh
7837ba6a99
fix(installer): don't use sudo when user is in Termux (#11591)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-03-31 07:37:01 +02:00
Carlo Sala
fcbdc330ff
fix(aws): restore accidentally deleted variable
Closes #11589
2023-03-28 17:03:03 +02:00
Håvard Bartnes
8f6fbe2389
feat(upgrade): add verbosity settings
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>

Closes #11574
Closes #11579
2023-03-28 12:58:33 +02:00
Michele Bologna
c08b925d28
fix(uninstall): abort uninstall if unable to change shell (#10357) 2023-03-23 14:34:43 +01:00
Jose C. Massón
5efcfc3973
feat(juju): add functions to get current controller and model (#11572) 2023-03-23 09:42:20 +01:00
Carlo Sala
f9f01e48a8 fix(aws): do not print region if it's not defined
Closes #11568
Closes #11570
2023-03-21 16:06:45 +01:00
Yu Xiang Zhang
4a39779067 feat(aws): set region when AWS_REGION is not set 2023-03-21 16:06:45 +01:00
vladislav doster
82d261603d
feat(gnu-utils): add gindent (#11569) 2023-03-20 08:11:03 +01:00
Marc Cornellà
72732a224e
fix(lib): set equivalent LS_COLORS and LSCOLORS variables
As reported by https://geoff.greer.fm/lscolors

Fixes #11554
2023-03-12 15:47:58 +01:00
Zhong Zheng
92387d9fff
feat(rails): add rta alias (#11553) 2023-03-10 15:52:44 +01:00
Benjamin Lieb
3ea0e0d234
docs(vi-mode): document how to add vi-mode info on the prompt (#11548) 2023-03-08 09:29:21 +01:00
Robby Russell
1c325de464
Fixing link to PA website in README
Was linking to an old URL
2023-03-07 11:52:38 -08:00
Julien Vincent
e0f92c8df5
feat(vi-mode): add settings for vi-mode cursor styles (#10860) 2023-03-07 20:46:21 +01:00
Marc Cornellà
d342b353e3
fix(init): set completion colors on theme load, not with precmd
This fixes an edge case where the user actually sets

  zstyle ':completion:*' list-colors

in their zshrc, but the previous code used a precmd hook, which would
override the user changes. With this change our modifications will be
set in the init script, after the theme loads, so that later changes
can affect our defaults.

Note that this will not be run for users on plugin managers, as these
don't generally run our init script.
2023-03-07 18:54:06 +01:00
potato
46fd7972a2
feat(aws): add AWS_REGION to aws_prompt_info (#10062) 2023-03-07 13:33:16 +01:00
Karim Benbourenane
06c16175ea
fix(aliases): group properly aliases (#11546) 2023-03-07 09:25:34 +01:00
Carlo Sala
3b759c5dc9
fix(argocd): typo in filename 2023-03-06 11:25:47 +01:00
Carlo Sala
6f3304f442
feat(argocd): add completion plugin
Co-authored-by: Sumudu Lansakara <sumudu.lansakara@ppro.com>

Closes #9900
2023-03-04 09:26:05 +01:00
Marc Cornellà
95d0c4b603
refactor(theme-and-appearance): reorganize and clean up logic (#11529)
Co-authored-by: Andrew Janke <janke@pobox.com>
Co-authored-by: Marcelo Parada <marcelo.parada@axoninsight.com>
Co-authored-by: Uy Ha <hchanuy@gmail.com>
Co-authored-by: Valentin Uveges <valentin.uveges@gmail.com>
2023-03-03 14:38:50 +01:00
Marc Cornellà
5bf7f9c833
fix(lib): use $BROWSER in open_command if set (#11532)
Fixes #11098
2023-03-03 12:34:31 +01:00
Batuhan Şanlı
14978859c5
docs(brew): remove duplication (#11535) 2023-03-02 10:03:50 +01:00
Julian Suarez
a4a9a8cd8c
feat(rvm): add rb32 alias (#11533) 2023-03-01 11:23:32 +01:00
Marc Cornellà
b602e0a066
fix(aliases): fix regression in filter argument 2023-02-27 20:46:42 +01:00
ZYX
f42c965da4
fix(aliases): clarify how to pass in keywords to acs (#11521)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-02-27 20:39:38 +01:00
Carlos Eduardo Monti
21bdb18b2d
feat(nodenv): add plugin for nodenv (#9880)
Co-authored-by: Matthew Boston <matthew@matthewboston.com>
2023-02-27 20:22:39 +01:00
Richard Mitchell
16050ab80e
feat(macos): allow multiple man pages in man-preview (#11365) 2023-02-26 22:40:44 +01:00
Jannik
0ca8907f0e
fix(lib): fix case-insensitive completion for zsh 5.9 (#11526) 2023-02-26 20:37:03 +01:00
Marc Cornellà
cd647b6dc6
fix(gnu-utils): reset ls alias to use GNU-based --color argument (#11527)
Fixes #11503
2023-02-26 15:44:18 +01:00
Marc Cornellà
277f38212a
refactor: reorganize setopts in lib folder 2023-02-24 20:55:31 +01:00
Marc Cornellà
5cb943eea4
fix(lib): fix return code after expected non-zero exit code (#11524)
Fixes #11524
2023-02-24 17:27:23 +01:00
Zoltán Reegn
bd9c216fe0
feat(iterm2): add shell integration script (#11509) 2023-02-24 17:27:15 +01:00
Carlo Sala
8a008e1f51
fix(azure): load completion properly for brew (#11499)
Closes #11497
2023-02-23 23:00:31 +01:00
WaferJay
b54ef89fab
fix(af-magic): fix logic for separator with virtualenv (#11518) 2023-02-23 22:32:40 +01:00
Carlo Sala
aca048814b
fix(theme-and-appearance): avoid infinite recursion 2023-02-22 15:35:12 +01:00
冯不游
a24e91908a
feat(marked): remove unnecessary code 2023-02-22 12:14:29 +01:00
冯不游
221eb9b90a
feat(marktext): add plugin
Closes #11507
2023-02-22 12:14:22 +01:00
Filippo Bonazzi
a4f08ad238
feat(extract): support obscpio format (#11511)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-02-22 10:16:28 +01:00
rohitbahekar
9f9d3b7d24
feat(terraform): add tfc alias (#10815) 2023-02-21 11:23:04 +01:00