add desktop PC
This commit is contained in:
parent
f5faaaa51b
commit
41ed4cf73c
1 changed files with 10 additions and 3 deletions
13
.xonshrc
13
.xonshrc
|
@ -1,8 +1,10 @@
|
||||||
# general shit
|
# general shit
|
||||||
if $HOSTNAME != "riley-laptop":
|
if $HOSTNAME == "riley-laptop":
|
||||||
$PROMPT = '{RED} <> {RESET}| {BOLD_GREEN}{cwd_base}{RESET} ) '
|
|
||||||
else:
|
|
||||||
$PROMPT = '{RED} <3 {RESET}| {BOLD_GREEN}{cwd_base}{RESET} ) '
|
$PROMPT = '{RED} <3 {RESET}| {BOLD_GREEN}{cwd_base}{RESET} ) '
|
||||||
|
elif $HOSTNAME == "riley-server":
|
||||||
|
$PROMPT = '{RED} <> {RESET}| {BOLD_GREEN}{cwd_base}{RESET} ) '
|
||||||
|
elif $HOSTNAME == "riley-desktop":
|
||||||
|
$PROMPT = '{RED} >< {RESET}| {BOLD_GREEN}{cwd_base}{RESET} ) '
|
||||||
$XONSH_COLOR_STYLE = 'default'
|
$XONSH_COLOR_STYLE = 'default'
|
||||||
xontrib load argcomplete autovox jedi z bashisms
|
xontrib load argcomplete autovox jedi z bashisms
|
||||||
|
|
||||||
|
@ -167,6 +169,11 @@ aliases.update({
|
||||||
'l': '/home/riley/programs/light_controller/main.py'
|
'l': '/home/riley/programs/light_controller/main.py'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if in_wsl():
|
||||||
|
aliases.update({
|
||||||
|
'wh': "cd /mnt/c/Users/Riley"
|
||||||
|
})
|
||||||
|
|
||||||
# man page colors :O
|
# man page colors :O
|
||||||
$LESS_TERMCAP_mb = "\033[01;31m" # begin blinking
|
$LESS_TERMCAP_mb = "\033[01;31m" # begin blinking
|
||||||
$LESS_TERMCAP_md = "\033[01;31m" # begin bold
|
$LESS_TERMCAP_md = "\033[01;31m" # begin bold
|
||||||
|
|
Loading…
Reference in a new issue