Compare commits
No commits in common. "9a6dab3467f9add77df73e0d22ec5f7699dea69d" and "d3ef7b6bcd7105ccec4ce3f2a0745747c006ebbb" have entirely different histories.
9a6dab3467
...
d3ef7b6bcd
3 changed files with 4 additions and 9 deletions
|
@ -49,10 +49,5 @@ if ! [ -d ~/.cache/chezmoi/init_backup ]; then
|
||||||
safe_backup ~/.zshrc ~/.zsh_history ~/.zprofile ~/.bashrc ~/.bash_history ~/.profile
|
safe_backup ~/.zshrc ~/.zsh_history ~/.zprofile ~/.bashrc ~/.bash_history ~/.profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Brute force remove chezmoistate lock and initialize chezmoi
|
# Brute force remove chezmoistate lock and restart init --apply
|
||||||
# apply with CZ_EXTR=1 will run twice as some logic in chemzoiexternal
|
exec sh -c 'rm ~/.config/chezmoi/chezmoistate.boltdb && CZ_EXTR=1 chezmoi init --apply'
|
||||||
# requires tools that are downloaded with chezmoiexternal
|
|
||||||
exec sh -c 'rm ~/.config/chezmoi/chezmoistate.boltdb \
|
|
||||||
&& chezmoi init && chezmoi apply \
|
|
||||||
&& printf "apply with externals #1/2...\n" && CZ_EXTR=1 chezmoi apply \
|
|
||||||
&& printf "apply with externals #2/2...\n" && CZ_EXTR=1 chezmoi apply'
|
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
"refreshPeriod" $defaultRefresh
|
"refreshPeriod" $defaultRefresh
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
|
|
||||||
{{- if and (lookPath "jq") (lookPath "cargo-binstall") -}}
|
{{- if lookPath "jq" -}}
|
||||||
{{- $path_prefix = or (get (dict "linux" "./") .chezmoi.os) "" -}}
|
{{- $path_prefix = or (get (dict "linux" "./") .chezmoi.os) "" -}}
|
||||||
{{- with $app_name := "eza" -}}
|
{{- with $app_name := "eza" -}}
|
||||||
{{- with $bin_url := (output "sh" "-c" (
|
{{- with $bin_url := (output "sh" "-c" (
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
printf '_src.posix init\n'
|
printf '_home init\s'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue