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.