mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
update in fedora submodule and chezmoiexternal
This commit is contained in:
parent
5fa69694c6
commit
9a56931814
@ -24,3 +24,8 @@
|
||||
stripComponents = 1
|
||||
refreshPeriod = "168h"
|
||||
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"
|
||||
|
@ -11,6 +11,8 @@ EXAMPLE TAGS:
|
||||
packages,configs
|
||||
|
||||
FLAGS:
|
||||
-f, --fedora perform update for fedora
|
||||
-v, --void perform update for void
|
||||
-s, --src compile (or recompile) source based packages"
|
||||
exit 0
|
||||
}
|
||||
@ -20,6 +22,14 @@ SRC=false
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
-v|--void)
|
||||
distro="void"
|
||||
shift
|
||||
;;
|
||||
-f|--fedora)
|
||||
distro="fedora"
|
||||
shift
|
||||
;;
|
||||
-s|--src)
|
||||
SRC=true
|
||||
shift
|
||||
@ -41,7 +51,7 @@ done
|
||||
set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters
|
||||
|
||||
# Goto playbook and run it
|
||||
cd {{ .chezmoi.workingTree }}/provision
|
||||
cd "{{ .chezmoi.workingTree }}/provision/$distro/ansible"
|
||||
|
||||
# Install ansible and run playbook
|
||||
if [ "$SRC" = true ] ; then
|
||||
@ -53,4 +63,4 @@ else
|
||||
fi
|
||||
|
||||
# Return to where you were
|
||||
cd -
|
||||
cd - > /dev/null
|
@ -72,7 +72,7 @@ ZSH_THEME="dracula/dracula"
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git)
|
||||
plugins=(git zsh-syntax-highlighting)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 9f7701ff96e73525a3ec5c9781a2859e9c82aad6
|
||||
Subproject commit 1009d1df65fcb95dc08cfc2959a58acf2fe137c0
|
Loading…
x
Reference in New Issue
Block a user