Skip to content

Commit

Permalink
Fix template common references
Browse files Browse the repository at this point in the history
  • Loading branch information
mmena1 committed Mar 14, 2024
1 parent b258f93 commit ef4a30f
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion home/.chezmoiscripts/run_after_99-finish.sh.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ template "common" }}
{{ template "common" . -}}

bot "Setup was successfully done!"
echo "Happy Coding!"
Expand Down
2 changes: 1 addition & 1 deletion home/.chezmoiscripts/run_before_00-intro.sh.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if eq .environment "dev" -}}
{{ template "common" }}
{{ template "common" . -}}
{{ template "dotfile" }}

bot "This script will guide you through the dofiles setup as well as installing required system packages."
Expand Down
2 changes: 1 addition & 1 deletion home/.chezmoiscripts/run_once_after_01-tmux-conf.sh.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ template "common" }}
{{ template "common" . -}}

bot "Configuring tmux"
echo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ template "common" }}
{{ template "common" . -}}

install_asdf() {
bot "Checking asdf..."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ template "common" }}
{{ template "common" . -}}

bot "Docker"
echo
Expand Down
2 changes: 1 addition & 1 deletion home/.chezmoiscripts/run_once_after_04-ssh-keys.sh.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if eq .environment "dev" -}}
{{ template "common" }}
{{ template "common" . -}}

set_ssh_keys() {
bot "Checking ssh keys..."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .chezmoi.os "linux" -}}

{{ template "common" }}
{{ template "common" . -}}

bot "Checking 1password..."
echo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .chezmoi.os "linux" -}}

{{ template "common" }}
{{ template "common" . -}}

bot "Checking VSCode..."
echo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .chezmoi.os "linux" -}}

{{ template "common" }}
{{ template "common" . -}}

bot "Checking starship prompt..."
if ! _exists starship ; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .chezmoi.os "linux" -}}

{{ template "common" }}
{{ template "common" . -}}

bot "Fira Code setup."

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .chezmoi.os "linux" -}}

{{ template "common" }}
{{ template "common" . -}}

bot "Checking GitHub CLI..."
echo
Expand Down
2 changes: 1 addition & 1 deletion home/.chezmoiscripts/run_once_after_11_eza-setup.sh.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .chezmoi.os "linux" -}}

{{ template "common" }}
{{ template "common" . -}}

bot "Checking eza..."
echo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .osid "darwin" -}}

{{ template "common" }}
{{ template "common" . -}}

if ! grep fish /etc/shells > /dev/null 2>&1; then
if sudo sh -c 'echo /opt/homebrew/bin/fish >> /etc/shells'; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .osid "darwin" -}}

{{ template "common" }}
{{ template "common" . -}}
{{ template "passwordless_sudo" }}

bot "Checking brew..."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ if eq .osid "darwin" -}}

{{ template "common" }}
{{ template "common" . -}}

brew update
brew bundle --no-lock --file=/dev/stdin <<EOF
Expand Down
2 changes: 1 addition & 1 deletion home/.chezmoitemplates/passwordless_sudo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

{{ template "common" }}
{{ template "common" . -}}


if [[ ! "$LOGNAME" =~ ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ ]]; then
Expand Down

0 comments on commit ef4a30f

Please sign in to comment.