Skip to content

Commit 6b16cd3

Browse files
authored
fix(coder/modules/zed): change script shebang from sh to bash (#602)
1 parent 43d05a9 commit 6b16cd3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

registry/coder/modules/zed/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module "zed" {
3232
module "zed" {
3333
count = data.coder_workspace.me.start_count
3434
source = "registry.coder.com/coder/zed/coder"
35-
version = "1.1.2"
35+
version = "1.1.3"
3636
agent_id = coder_agent.main.id
3737
folder = "/home/coder/project"
3838
}
@@ -44,7 +44,7 @@ module "zed" {
4444
module "zed" {
4545
count = data.coder_workspace.me.start_count
4646
source = "registry.coder.com/coder/zed/coder"
47-
version = "1.1.2"
47+
version = "1.1.3"
4848
agent_id = coder_agent.main.id
4949
display_name = "Zed Editor"
5050
order = 1
@@ -57,7 +57,7 @@ module "zed" {
5757
module "zed" {
5858
count = data.coder_workspace.me.start_count
5959
source = "registry.coder.com/coder/zed/coder"
60-
version = "1.1.2"
60+
version = "1.1.3"
6161
agent_id = coder_agent.main.id
6262
agent_name = coder_agent.example.name
6363
}
@@ -73,7 +73,7 @@ You can declaratively set/merge settings with the `settings` input. Provide a JS
7373
module "zed" {
7474
count = data.coder_workspace.me.start_count
7575
source = "registry.coder.com/coder/zed/coder"
76-
version = "1.1.2"
76+
version = "1.1.3"
7777
agent_id = coder_agent.main.id
7878
7979
settings = jsonencode({

registry/coder/modules/zed/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ resource "coder_script" "zed_settings" {
7373
icon = "/icon/zed.svg"
7474
run_on_start = true
7575
script = <<-EOT
76-
#!/bin/sh
76+
#!/usr/bin/env bash
7777
set -eu
7878
SETTINGS_JSON='${replace(var.settings, "\"", "\\\"")}'
7979
if [ -z "$${SETTINGS_JSON}" ] || [ "$${SETTINGS_JSON}" = "{}" ]; then

0 commit comments

Comments
 (0)