-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_xonshrc
41 lines (35 loc) · 1.34 KB
/
dot_xonshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# @mudiarto initial xonsh files
#
# NOTES:
# - install xonsh using mamba: https://github.com/anki-code/xonsh-install
# so it has dependent environment outside of OS' python or any other python
#
# - from my testing, xonsh will load files from these location (in this order):
# - ~/.xonshrc
# - ~/.config/xonsh/rc.xsh
# - ~/.config/xonsh/rc.d/* (in sorted order)
#
# refs:
# - https://xon.sh/xonshrc.html
#
# links:
# - https://github.com/anki-code/xonsh-cheatsheet
# set XONSH_DEBUG to 1 or 2 if you want to debug shell
# see: https://xon.sh/envvars.html#xonsh-debug
$XONSH_DEBUG=0
# show traceback for notification on exception
# see: https://xon.sh/envvars.html#xonsh-show-traceback
$XONSH_SHOW_TRACEBACK=True
# maybe needed to sync env vars between xonsh and parent's shell
$UPDATE_OS_ENVIRON=True
#
# set both of these if you get this error in xonsh:
# > Pyperclip could not find a copy/paste mechanism for your system.
# > Please see https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error for how to fix this.
#
# disable use system clipboard - since it cause issue when I ssh to this remotely
# see: https://xon.sh/envvars.html#xonsh-use-system-clipboard
$XONSH_USE_SYSTEM_CLIPBOARD=False
# disable copy on delete as well, related to clipboard issue
# see: https://xon.sh/envvars.html#xonsh-copy-on-delete
$XONSH_COPY_ON_DELETE=False