New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide __file__ #2178
Labels
Comments
Hi @flavius, thanks for reporting. It is unclear to me which one of these cases is failing. Can you please give a more detailed example. Thanks! |
@scopatz Complete transcript of my terminal session, showcasing the source and the three cases.
|
Closing this since #2181 has been merged. Please feel free to reopen if you continue to have issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There should be a way to determine the location of the current script, no matter how it's executed:
source
There is
$XONSH_SOURCE
(related #1169), but that one is not defined in case 3.The text was updated successfully, but these errors were encountered: