Skip to content

Commit

Permalink
Update work mode reference
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <marcus@utf9k.net>
  • Loading branch information
marcus-crane committed Dec 28, 2023
1 parent ea8c2c5 commit d2afd69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .chezmoi.toml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{- $langenv := "home" }}{{/* determine which programming languages (and versions) to sync with asdf */}}

{{- if eq .chezmoi.os "darwin" -}}
{{- if contains "MacBookPro18,3" (output "sysctl" "-n" "hw.model" | trim) -}}
{{- if contains "Mac14,5" (output "sysctl" "-n" "hw.model" | trim) -}}
{{- $workmode = true -}}
{{- $langenv = "work" -}}
{{- end -}}
Expand All @@ -24,4 +24,4 @@
wsl = {{ $wsl }}

[onepassword]
command = "{{ if $wsl }}~/.wslshims/op{{ else }}op{{ end }}"
command = "{{ if $wsl }}~/.wslshims/op{{ else }}op{{ end }}"

0 comments on commit d2afd69

Please sign in to comment.