Skip to content

Commit

Permalink
docs: update xontrib
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Jul 13, 2022
1 parent f51702e commit cd86775
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@


def _load_xontrib_(xsh: XonshSession, **_):
# Some code in Using Python API:
# getting environment variable
var = xsh.env.get("VAR", "default")
print(var)

print("Autoloading xontrib: {{ project_repo_name }}")

{% if has_events %}
from .event_hooks import listen_cd
Expand Down

0 comments on commit cd86775

Please sign in to comment.