From 252d08ccecb9ba13b3c6b8d707b8ff0307236170 Mon Sep 17 00:00:00 2001 From: Koury Lape Date: Thu, 29 Jan 2026 13:54:54 -0500 Subject: [PATCH] Fix dotfiles module for Fish shell compatibility --- registry/coder/modules/dotfiles/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/coder/modules/dotfiles/main.tf b/registry/coder/modules/dotfiles/main.tf index 9dfb7240..22c61dcf 100644 --- a/registry/coder/modules/dotfiles/main.tf +++ b/registry/coder/modules/dotfiles/main.tf @@ -99,10 +99,10 @@ resource "coder_app" "dotfiles" { icon = "/icon/dotfiles.svg" order = var.order group = var.group - command = templatefile("${path.module}/run.sh", { + command = "/usr/bin/env bash -c ${shellquote(templatefile("${path.module}/run.sh", { DOTFILES_URI : local.dotfiles_uri, DOTFILES_USER : local.user - }) + }))}" } output "dotfiles_uri" {