diff --git a/run_once_prepare_unix.sh.tmpl b/run_once_prepare_unix.sh.tmpl index a620b49..652e1b0 100644 --- a/run_once_prepare_unix.sh.tmpl +++ b/run_once_prepare_unix.sh.tmpl @@ -1,9 +1,12 @@ +{{ if ne .chezmoi.os "windows" }} #!/bin/bash # JUST TO KEEP IN HEAD -# {{ if eq .chezmoi.kernel.osrelease "ubuntu" -}} +# {{ if eq .chezmoi.os "linux" -}} +# {{ if eq .chezmoi.osRelease.id "ubuntu" -}} # sudo apt install ripgrep # {{ end -}} +# {{ end -}} # Exemple: https://github.com/RichiCoder1/dotfiles/blob/master/executable_install-tools.sh.tmpl # INSTALL HOMEBREW @@ -39,4 +42,6 @@ brew install rust-analyzer source ~/.bash_profile # {{ else if eq .chezmoi.os "darwin" -}} +{{ end -}} + {{ end -}} \ No newline at end of file