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

313 commits

Author SHA1 Message Date
Carlo Sala
057f3ec67e
chore: replace all instances of twitter with X
Closes #12536
2024-07-03 08:51:20 +02:00
Ihor
35f1d362c1
docs: rename twitter to X, fix link (#12532) 2024-07-02 17:15:22 +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
Ross Williams
4fca7ccb55
feat(tools): update supports_hyperlinks (#12258)
Update to https://github.com/zkat/supports-hyperlinks/releases/tag/v3.0.0
2024-03-07 09:54:43 +01:00
Gautam krishna R
17e96bf91e
fix(changelog): use longer hashes for commits (#12096) 2023-12-20 21:10:32 +01:00
Marc Cornellà
b6afbbea3a
fix(installer): fix path logic and improve clarity on ZDOTDIR use 2023-12-01 17:03:15 +01:00
Marc Cornellà
29b99c2c7b
feat(updater): add background-alpha update mode (preview) (#11928)
NOTE: this feature is in alpha / preview mode, it is not guaranteed to work 100% of the
time in all cases. If you experience any issues, open an issue or search for an open
one describing your same situation.

To use this, use the zstyle update mode settings [1] with the value `background-alpha`:

  zstyle ':omz:update' mode background-alpha

[1] https://github.com/ohmyzsh/ohmyzsh#getting-updates
2023-10-09 18:00:17 +02:00
Marc Cornellà
bbda81fe4b
fix(changelog): fix regression for unstyled code in commit subjects 2023-09-13 19:23:41 +02:00
Marc Cornellà
000be72dd0
fix(updater): disable nounset to avoid warnings (#11856) 2023-08-29 10:27:36 +02:00
Carlo Sala
d889eca726
fix(check_for_upgrade): update properly LAST_EPOCH
Fixes #11617
2023-04-17 20:09:30 +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à
f8bf88edca
chore(installer): remove words triggering false positives in antiviruses 2023-04-03 22:21:49 +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
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
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
Marc Cornellà
6c3cf658f6 fix(installer): automatically create ZDOTDIR path if it doesn't exist 2023-02-02 08:53:44 +01:00
Marc Cornellà
5c9a3d2f4f fix(installer): don't use $ZDOTDIR in zshrc file if same as $HOME
Fixes #11471
2023-02-02 08:53:44 +01:00
Alex
b2313ec749 feat(installer): respect and install in $ZDOTDIR if set (#9376)
Fixes #9001
Fixes #10479

Closes #9376

Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-01-29 12:39:22 +01:00
Carlo Sala
fe0dd8226d fix(upgrade): do not upgrade if not called from tty
Fixes #11390
2023-01-17 12:48:05 +01:00
Carlo Sala
3fca9c8933
fix(upgrade): check if git is available and working
macOS seems to break dev tools when updating the system. This should
prevent the previous issues. See #11309

Closes #11420
2023-01-03 10:02:05 +01:00
jzhang046
1aa58d42a5
fix(changelog): generate correct commit link in markdown (#11356) 2022-11-27 10:54:24 +01:00
Marc Cornellà
65a1e4edbe
fix(installer): detect newer Git for Windows version errors (#11157)
Fixes #11157
2022-10-14 20:31:33 +02:00
Marc Cornellà
ee4910e3b3
fix: show full hyperlinks in Konsole (#10964)
Fixes #10964
2022-10-12 10:55:02 +02:00
Marc Cornellà
f80cf12092
fix: fix OSC 8 hyperlink escape sequences 2022-10-12 10:49:44 +02:00
George Rodrigues
e0e22d1120
chore(docs): fix some typos (#11211) 2022-10-03 17:03:53 +02:00
Brian Wright
bb6c14cdfd
fix(updater): correct spelling of curl flag (#11072) 2022-07-26 11:46:10 +02:00
Marc Cornellà
18e7e5d033
fix(updater): use curl --connect-timeout in new update check 2022-06-01 09:11:49 +02:00
Marc Cornellà
846f417eb8
feat(updater): check for typed input before automatically updating (#10830) 2022-04-10 10:20:51 +02:00
Marc Cornellà
9e967b4ecc
fix(installer): exit install directory on setup (#10804) 2022-03-28 16:33:03 +02:00
thinszx
4a988c4660
fix(updater): change remote using deprecated git: protocol (#10779) 2022-03-17 12:54:47 +01:00
Marc Cornellà
4f0b680248
fix(installer): fix $HOME setting if getent is not found (macOS)
Related: https://github.com/ohmyzsh/ohmyzsh/pull/10713/files#r820219899
2022-03-07 11:41:02 +01:00
SBado
af0c3b64b8
fix(updater): prefix cd with builtin when it is aliased (#10753) 2022-03-04 16:54:51 +01:00
Marc Cornellà
c81804825c
fix(installer): fix removal of OMZ directory on failure
When the `git init` call fails, the directory is not created,
so the rm command fails with a not found error. This change
checks whether the directory exists before deleting it.
2022-02-25 14:06:19 +01:00
Marc Cornellà
0b0af4df6a fix(updater): fix check for latest commit in local repository
The previous check simply compared whether the last commit of the branch
was the same in the local and the remote repository.

This commit also checks whether the remote commit is an ancestor of the
local commit. This fixes the case where the local repository has new
commits after the last published commit.
2022-02-24 13:51:16 +01:00
Marc Cornellà
ff29836562 fix(updater): timeout after 2s on available update check 2022-02-24 13:51:16 +01:00
Marc Cornellà
914b6399e8 fix(installer): silence git init 2022-02-22 21:24:43 +01:00
Marc Cornellà
9b883aa417 fix(installer): set $HOME if not defined (#10680)
Fixes #10680
2022-02-22 21:24:43 +01:00
Marc Cornellà
69e2937891
fix(updater): fix input check on non-interactive runs
Reference: https://www.zsh.org/mla/users/2022/msg00067.html
2022-02-11 19:51:52 +01:00
Marc Cornellà
dbd92a62ce
fix(updater): do not swallow 1 character in check for user input
Co-authored-by: Philippe Troin <phil@fifi.org>
2022-02-11 10:04:51 +01:00
Marc Cornellà
f0f42828fa
feat(updater): do not update when user already typed some characters (#9699)
Fixes #9699
2022-02-07 18:58:47 +01:00
Marc Cornellà
46f5d38b1d
refactor(installer): use POSIX-standard's id -u -n to define $USER 2022-01-28 20:53:30 +01:00
Marc Cornellà
3c5367d272
fix(changelog): don't show changelog with only ignored type commits 2022-01-28 13:36:54 +01:00
Marc Cornellà
59c40eee8e
fix(installer): avoid git clone -c to support git v1.7.1 (#10621) 2022-01-27 18:01:27 +01:00
Marc Cornellà
fc40b53e64
style(updater): silence git pull output and show errors in English 2022-01-24 18:32:36 +01:00
Marc Cornellà
788802af68
fix(installer): correct check for sudo in shell change logic 2022-01-24 15:56:10 +01:00