Skip to content

General Scriptability #345

@Gregory-Gelfond

Description

@Gregory-Gelfond

Describe the solution you'd like?

Currently we are using iTerm with a custom script to launch a Java environment from within IntelliJ:


#!/bin/bash
TEMP="${HOME}/EC-Projects/misc/bin/jlineExec.sh"
if [ $1 = "-version" ]; then
  echo "" > ${TEMP}
else
  export JAVA_CMD="${JAVA_HOME}/bin/java $@"
  export FIRST="${JAVA_CMD/javaagent:/javaagent:\"}"
  export ALMOST="${FIRST/agent.jar -Dfile/agent.jar\" -Dfile}"
  echo "#!/bin/bash" > ${TEMP}
  echo "${ALMOST/bin -Dfile/bin\" -Dfile}" >> ${TEMP}
  echo ${TEMP}
  open -a iTerm.app ${TEMP}
fi

Having support to use Warp instead of iTerm in this script would be awesome.



### Is your feature request related to a problem? Please describe.

_No response_

### Additional context

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions