Skip to content

Instantly share code, notes, and snippets.

@pseyfert
Created May 22, 2020 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pseyfert/b1f9a4694d3abdabee6753f249fcc69a to your computer and use it in GitHub Desktop.
Save pseyfert/b1f9a4694d3abdabee6753f249fcc69a to your computer and use it in GitHub Desktop.
amplxe-vars.sh for ZSH (intel vtune, 2020.1)
# SCRIPT_DIR="$( dirname "$( readlink -e "${BASH_SOURCE[0]}" )" )"
# PRODUCT_DIR="$( cd "${SCRIPT_DIR}"/.. && pwd)"
PRODUCT_DIR="$( dirname ${(%):-%N} )"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment