update in fedora submodule and chezmoiexternal

This commit is contained in:
Tyler Starr 2023-02-20 10:18:02 -08:00
parent 5fa69694c6
commit 9a56931814
4 changed files with 19 additions and 4 deletions

View File

@ -24,3 +24,8 @@
stripComponents = 1 stripComponents = 1
refreshPeriod = "168h" refreshPeriod = "168h"
include = ["*/dracula.zsh-theme", "*/lib/**"] include = ["*/dracula.zsh-theme", "*/lib/**"]
[".oh-my-zsh/custom/plugins/zsh-syntax-highlighting"]
type = "git-repo"
url = "https://github.com/zsh-users/zsh-syntax-highlighting.git"
refreshPeriod = "168h"

View File

@ -11,6 +11,8 @@ EXAMPLE TAGS:
packages,configs packages,configs
FLAGS: FLAGS:
-f, --fedora perform update for fedora
-v, --void perform update for void
-s, --src compile (or recompile) source based packages" -s, --src compile (or recompile) source based packages"
exit 0 exit 0
} }
@ -20,6 +22,14 @@ SRC=false
while [[ $# -gt 0 ]]; do while [[ $# -gt 0 ]]; do
case $1 in case $1 in
-v|--void)
distro="void"
shift
;;
-f|--fedora)
distro="fedora"
shift
;;
-s|--src) -s|--src)
SRC=true SRC=true
shift shift
@ -41,7 +51,7 @@ done
set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters
# Goto playbook and run it # Goto playbook and run it
cd {{ .chezmoi.workingTree }}/provision cd "{{ .chezmoi.workingTree }}/provision/$distro/ansible"
# Install ansible and run playbook # Install ansible and run playbook
if [ "$SRC" = true ] ; then if [ "$SRC" = true ] ; then
@ -53,4 +63,4 @@ else
fi fi
# Return to where you were # Return to where you were
cd - cd - > /dev/null

View File

@ -72,7 +72,7 @@ ZSH_THEME="dracula/dracula"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(git) plugins=(git zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh

@ -1 +1 @@
Subproject commit 9f7701ff96e73525a3ec5c9781a2859e9c82aad6 Subproject commit 1009d1df65fcb95dc08cfc2959a58acf2fe137c0