Skip to content

Instantly share code, notes, and snippets.

@nedsociety
nedsociety / xonsh_context_menu.py
Last active September 22, 2021 14:19
Windows: add xonsh to the right click context menu
# Registers xonsh to the context menu (right click) on folders for Windows.
# Run following command line from WITHIN xonsh:
#
# $ exec(__import__('urllib.request').request.urlopen(r'https://gist.githubusercontent.com/nedsociety/91041691d0ac18bc8fd9e937ad21b055/raw/xonsh_context_menu.py').read());xonsh_register_right_click()
#
# To uninstall, run following command line from WITHIN xonsh:
#
# $ exec(__import__('urllib.request').request.urlopen(r'https://gist.githubusercontent.com/nedsociety/91041691d0ac18bc8fd9e937ad21b055/raw/xonsh_context_menu.py').read());xonsh_unregister_right_click()
#