-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xonshrc
27 lines (22 loc) · 805 Bytes
/
.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
#!/usr/bin/env xonsh
$XONSH_COLOR_STYLE="default" # Set default style until we define our custom one
#TODO rewrite in python? maybe not.
source-bash --suppress-skip-message ~/.config/bash/environment
source ~/.config/xonsh/environment.py
# Start graphical session if running from tty1
if $(tty) == '/dev/tty1\n' and not "SESSION_STARTED" in ${...}:
#TODO rewrite in python
source-bash ~/.config/bash/graphical_session
exit
source ~/.config/xonsh/colorscheme.xsh
$CASE_SENSITIVE_COMPLETIONS = False
xontrib load whole_word_jumping vox xlsd
# Tweak ls colors (remove most styling)
$LS_COLORS = {
"ln": ("UNDERLINE_DEFAULT",),
"or": ("UNDERLINE_RED",),
"ex": ("BOLD_DEFAULT",),
}
source ~/.config/xonsh/aliases.py
source ~/.config/xonsh/prompt.py
source ~/.config/xonsh/long_cmd_notif.py