From b11bd6a52c09c1242c1f9a47c010601413e23962 Mon Sep 17 00:00:00 2001 From: Mario A <10923513+Midblyte@users.noreply.github.com> Date: Tue, 16 May 2023 14:51:11 +0000 Subject: [PATCH 1/3] Update ohmyzsh.json Add support for .zshrc.pre-oh-my-zsh --- programs/ohmyzsh.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/ohmyzsh.json b/programs/ohmyzsh.json index 6593cdd1..2c60285a 100644 --- a/programs/ohmyzsh.json +++ b/programs/ohmyzsh.json @@ -4,6 +4,11 @@ "path": "$HOME/.oh-my-zsh", "movable": true, "help": "See the relevant [issue](https://github.com/ohmyzsh/ohmyzsh/issues/9543).\n\nExport the following environment variables:\n\n```bash\nexport ZSH=\"$XDG_DATA_HOME\"/oh-my-zsh \n```\n" + }, + { + "path": "$HOME/.zshrc.pre-oh-my-zsh", + "movable": true, + "help": "If it exists, it is used when switching back to the default shell you had before installing Oh My Zsh. See the [FAQ](https://github.com/ohmyzsh/ohmyzsh/wiki/FAQ#how-do-i-uninstall-oh-my-zsh) for more information.\n\nYou can either back it up elsewhere or delete it.\n" } ], "name": "ohmyzsh" From 5e696c84c18008ed90c9b965c56cf32144b6fdd6 Mon Sep 17 00:00:00 2001 From: Mario A <10923513+Midblyte@users.noreply.github.com> Date: Thu, 1 Jun 2023 11:56:37 +0200 Subject: [PATCH 2/3] Update ohmyzsh.json Add support for .zshrc.pre-oh-my-zsh-YYYY-mm-dd_HH-MM-SS Signed-off-by: Mario A <10923513+Midblyte@users.noreply.github.com> --- programs/ohmyzsh.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/ohmyzsh.json b/programs/ohmyzsh.json index 2c60285a..8eb6c92d 100644 --- a/programs/ohmyzsh.json +++ b/programs/ohmyzsh.json @@ -9,6 +9,11 @@ "path": "$HOME/.zshrc.pre-oh-my-zsh", "movable": true, "help": "If it exists, it is used when switching back to the default shell you had before installing Oh My Zsh. See the [FAQ](https://github.com/ohmyzsh/ohmyzsh/wiki/FAQ#how-do-i-uninstall-oh-my-zsh) for more information.\n\nYou can either back it up elsewhere or delete it.\n" + }, + { + "path": "$HOME/.zshrc.pre-oh-my-zsh-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]_[0-9][0-9]-[0-9][0-9]-[0-9][0-9]", + "movable": true, + "help": "If it exists, it is used when switching back to the default shell you had before installing Oh My Zsh. See the [FAQ](https://github.com/ohmyzsh/ohmyzsh/wiki/FAQ#how-do-i-uninstall-oh-my-zsh) for more information.\n\nYou can either back it up elsewhere or delete it.\n" } ], "name": "ohmyzsh" From 5c14da9256501b4a58d9ac75e290d31a5cb79cfb Mon Sep 17 00:00:00 2001 From: Mario A <10923513+Midblyte@users.noreply.github.com> Date: Thu, 1 Jun 2023 12:22:56 +0200 Subject: [PATCH 3/3] Update zsh.json Add support for .zcompdump--.zwc, .zcompdump-- and .zcompdump-- Signed-off-by: Mario A <10923513+Midblyte@users.noreply.github.com> --- programs/zsh.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/zsh.json b/programs/zsh.json index ca546538..b908485a 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -8,7 +8,7 @@ { "help": "Set this in your zshrc:\n\n```bash\ncompinit -d \"$XDG_CACHE_HOME\"/zsh/zcompdump-\"$ZSH_VERSION\"\n```\n", "movable": true, - "path": "$HOME/.zcompdump" + "path": "$HOME/.zcompdump*" }, { "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", @@ -47,4 +47,4 @@ } ], "name": "zsh" -} \ No newline at end of file +}