Loading src/quicknxs +21 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,26 @@ if [ -v CONDA_ENVIRON ]; then # put together arguments - conda_env, application, argv args=("${CONDA_ENVIRON}" "quicknxs" "$@") # override the normal call to activate_and_launch() function # first argument is conda environment CONDA_EXP_ENV="${1}" shift # second argument is startup command COMMAND="${1}" shift # the rest is passed to the command being started _remove_font_cache # rebuild the font cache fc-cache -r # start the application activate_and_launch "${args[@]}" activate_conda_environment "${CONDA_EXP_ENV}" echo "Execute: ${COMMAND} $*" "${COMMAND}" "$@" } fi Loading
src/quicknxs +21 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,26 @@ if [ -v CONDA_ENVIRON ]; then # put together arguments - conda_env, application, argv args=("${CONDA_ENVIRON}" "quicknxs" "$@") # override the normal call to activate_and_launch() function # first argument is conda environment CONDA_EXP_ENV="${1}" shift # second argument is startup command COMMAND="${1}" shift # the rest is passed to the command being started _remove_font_cache # rebuild the font cache fc-cache -r # start the application activate_and_launch "${args[@]}" activate_conda_environment "${CONDA_EXP_ENV}" echo "Execute: ${COMMAND} $*" "${COMMAND}" "$@" } fi