Update .local/share/chezmoi/home/dot_local/bin/executable_provision.tmpl
This commit is contained in:
parent
7dd977e7b6
commit
680e677571
1 changed files with 13 additions and 13 deletions
|
@ -217,6 +217,8 @@ find "$HOME/.local/bin" -maxdepth 1 -mindepth 1 -type f | while read BINFILE; do
|
|||
chmod +x "$BINFILE"
|
||||
done
|
||||
|
||||
### Run chezmoi init
|
||||
if [ ! -f "$HOME/.config/chezmoi/chezmoi.yaml" ]; then
|
||||
### Show README.md snippet
|
||||
if command -v glow > /dev/null; then
|
||||
glow "$HOME/.local/share/chezmoi/docs/CHEZMOI-INTRO.md"
|
||||
|
@ -230,8 +232,6 @@ if command -v gum > /dev/null; then
|
|||
fi
|
||||
fi
|
||||
|
||||
### Run chezmoi init
|
||||
if [ ! -f "$HOME/.config/chezmoi/chezmoi.yaml" ]; then
|
||||
logg info 'Running `chezmoi init` since the ~/.config/chezmoi/chezmoi.yaml is not present'
|
||||
chezmoi init
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue