mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
20 lines
686 B
Text
20 lines
686 B
Text
# adjust some paths
|
||
$PATH.append('/home/scopatz/sandbox/bin')
|
||
$LD_LIBRARY_PATH = ['/home/scopatz/.local/lib', '/home/scopatz/miniconda3/lib', '']
|
||
|
||
# alias to quit AwesomeWM from the terminal
|
||
def _quit_awesome(args, stdin=None):
|
||
lines = $(ps ux | grep "gnome-session --session=awesome").splitlines()
|
||
pids = [l.split()[1] for l in lines]
|
||
for pid in pids:
|
||
kill @(pid)
|
||
|
||
aliases['qa'] = _quit_awesome
|
||
|
||
# some customization options, see https://xon.sh/envvars.html for details
|
||
$MULTILINE_PROMPT = '`·.,¸,.·*¯`·.,¸,.·*¯'
|
||
$XONSH_SHOW_TRACEBACK = True
|
||
$XONSH_STORE_STDOUT = True
|
||
$XONSH_HISTORY_MATCH_ANYWHERE = True
|
||
$COMPLETIONS_CONFIRM = True
|
||
$XONSH_AUTOPAIR = True
|