Skip to content

Instantly share code, notes, and snippets.

@WebReflection
Created November 25, 2015 09:56
Show Gist options
  • Save WebReflection/f603e9828cd520d9f222 to your computer and use it in GitHub Desktop.
Save WebReflection/f603e9828cd520d9f222 to your computer and use it in GitHub Desktop.
GJS Linux compatible imports with the current path without needing to push its searchPath
#!/usr/bin/env sh
imports=imports// "exec" "gjs" "-I" "$(dirname $0)" "$0" "$@"
log("I've found a valid GJS hack to auto import from .");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment