From b7d1e1eb12ebb5ee873ff5992693d3f90afabc09 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 6 Jan 2025 13:05:49 +0300 Subject: [PATCH] Bottles: Fix btre. --- home/program/bash/module/Bottle.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/program/bash/module/Bottle.sh b/home/program/bash/module/Bottle.sh index 155d60d..f7f488c 100644 --- a/home/program/bash/module/Bottle.sh +++ b/home/program/bash/module/Bottle.sh @@ -15,7 +15,8 @@ function btc() { # Run a file inside a bottle. # Usage: btre [EXTRA] function btre() { - bottles-cli run -b "${SHELL_NAME}" -e "${@}" + local exe=$(realpath "${1}") + bottles-cli run -b "${SHELL_NAME}" -e "${exe}" "${@:2}" } # Run a program inside a bottle.