fish/functions/headless_java.fish @ ad3a9d70d78c

w-u-a
author Steve Losh <steve@stevelosh.com>
date Wed, 04 Dec 2019 14:53:08 -0500
parents ec4852a72664
children (none)
function headless_java -d "Put Java into headless mode"
    echo "Changing _JAVA_OPTIONS"
    echo "from: $_JAVA_OPTIONS"
    set -g -x _JAVA_OPTIONS "-Djava.awt.headless=true"
    echo "  to: $_JAVA_OPTIONS"
end