From 363d54ffb096eb76ac3c90aa99cc7d7f19080886 Mon Sep 17 00:00:00 2001 From: Maddox Werts Date: Sat, 8 Mar 2025 12:58:25 -0500 Subject: [PATCH] Fixed running in Zed --- scripts/cargo/cargo | 3 ++- scripts/rust-analyzer/rust-ls | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/cargo/cargo b/scripts/cargo/cargo index 992726e..b9a6471 100755 --- a/scripts/cargo/cargo +++ b/scripts/cargo/cargo @@ -1,6 +1,7 @@ +#!/bin/bash docker run --rm -i \ --name cargo \ --user rustacean \ -v "$PWD:$PWD:Z" \ -w "$PWD" \ - rust-ls:cargo "$@" \ No newline at end of file + rust-ls:cargo "$@" diff --git a/scripts/rust-analyzer/rust-ls b/scripts/rust-analyzer/rust-ls index 8447c7a..9f72e59 100755 --- a/scripts/rust-analyzer/rust-ls +++ b/scripts/rust-analyzer/rust-ls @@ -1,6 +1,8 @@ +#!/bin/bash + docker run --rm -i \ --name rust-analyzer \ --user rustacean \ -v "$PWD:$PWD:Z" \ -w "$PWD" \ - rust-ls:analyzer "$@" \ No newline at end of file + rust-ls:analyzer "$@"