manage oh-my-zsh with chezmoi

This commit is contained in:
Tyler Starr 2022-12-28 01:57:40 -08:00
parent 8fff56200b
commit e2ada01955
2 changed files with 23 additions and 1 deletions

View File

@ -9,3 +9,23 @@
type = "git-repo"
url = "https://github.com/wbthomason/packer.nvim.git"
refreshPeriod = "168h"
[".oh-my-zsh"]
type = "archive"
url = "https://github.com/ohmyzsh/ohmyzsh/archive/master.tar.gz"
refreshPeriod = "168h"
[".oh-my-zsh/custom/themes"]
type = "archive"
url = "https://github.com/dracula/zsh/archive/master.zip"
exact = true
stripComponents = 1
include = ["*/dracula.zsh-theme", "*/lib/**"]
#[".oh-my-zsh/custom/themes/dracula.zsh-theme"]
# type = "file"
# url = "https://github.com/dracula/zsh/archive/master.zip"
# refreshPeriod = "168h"
# [".oh-my-zsh/custom/themes/dracula.zsh-theme".filter]
# command = "busybox"
# args = ["unzip", "/dev/stdin", "*/dracula.zsh-theme", "-p"]

View File

@ -1,5 +1,7 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
#
DISABLE_AUTO_UPDATE="true"
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
@ -8,7 +10,7 @@ export ZSH="$HOME/.oh-my-zsh"
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
ZSH_THEME="dracula"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load