fix: use lookPath "bash"
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!{{ lookPath "sh" }}
|
||||
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
defaults write com.googlecode.iterm2 PrefsCustomFolder -string "~/.config/iterm2"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
if command -v zsh &> /dev/null; then
|
||||
zsh -i -c 'zinit update'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ if and (not .unRootMode) (eq .chezmoi.os "darwin") -}}
|
||||
#!/bin/sh
|
||||
#!{{ lookPath "sh" }}
|
||||
|
||||
# Install Homebrew
|
||||
command -v brew >/dev/null 2>&1 || \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ if eq .chezmoi.os "linux" -}}
|
||||
#!/bin/bash
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
{{/* **** unRoot Mode *************************************************** */ -}}
|
||||
{{/* 如果強制設定unRoot, */}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ if eq .chezmoi.os "linux" -}}
|
||||
#!/bin/bash
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# dconf.ini hash: {{ include "dconf.ini" | sha256sum }}
|
||||
dconf load / < {{ joinPath .chezmoi.sourceDir "dconf.ini" | quote }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# --------------------------
|
||||
# 擷取 remote list
|
||||
|
||||
Reference in New Issue
Block a user