File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1- export $(cat ./config/.env | grep -v "^#" | xargs) && mix Arca.Cli $*
1+ REPL_MODE=true mix Arca.Cli $*
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- # Load environment variables from .env file if it exists
4- if [ -f ./config/.env ]; then
5- export $( cat ./config/.env | grep -v " ^#" | xargs)
6- fi
7-
83# Set current directory to the script's directory
94cd " $( dirname " $0 " ) /.." || exit
105
2520 echo " Warning: rlwrap not found. Install rlwrap for command history and completion."
2621fi
2722
28- # Define the original command
29- ORIGINAL_COMMAND=" mix Arca.Cli repl $* "
23+ # Define the original command with REPL_MODE
24+ ORIGINAL_COMMAND=" REPL_MODE=true mix Arca.Cli repl $* "
3025
3126# Run the command with rlwrap if available
3227if [ -n " $RLWRAP_CMD " ]; then
You can’t perform that action at this time.
0 commit comments