mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-09 22:06:58 -06:00
Fix wsl 'quote' filter breaking WSL-specific details, ensure keychain is installed on WSL
This commit is contained in:
@@ -45,7 +45,10 @@ args = [
|
||||
[data]
|
||||
privateDomain = {{ $privateDomain | quote }}
|
||||
chassis = {{ $chassisType | quote }}
|
||||
wsl = {{ $wsl | quote }}
|
||||
wsl = {{ $wsl }}
|
||||
|
||||
[diff]
|
||||
scriptContents = false
|
||||
|
||||
[data.cpu]
|
||||
cores = {{ $cpuCores }}
|
||||
|
||||
@@ -7,6 +7,7 @@ set -xeu
|
||||
|
||||
{{ if .wsl }}
|
||||
# WSL-specific commands
|
||||
sudo apt install -y keychain
|
||||
{{ else }}
|
||||
# Non-WSL commands
|
||||
sudo apt install -y xclip xsel
|
||||
|
||||
Reference in New Issue
Block a user