1
0
Fork 0

Remove xonsh

This commit is contained in:
Jeremy Kaplan 2016-10-31 12:32:40 -04:00
commit 63433d6c5b

View file

@ -1,34 +0,0 @@
$PATH.append($HOME + '/bin')
$EDITOR = 'emacs'
$VISUAL = $EDITOR
$XDG_CONFIG_HOME = $HOME + '/.config'
if any(v in __xonsh_env__ for v in ['SSH_TTY', 'SSH_CLIENT', 'SSH_CONNECTION']):
$LOCAL_SESSION = True
else:
$LOCAL_SESSION = False
$XONSH_COLOR_STYLE = 'monokai'
blue = '#5fd7ff'
orange = '#d75f00'
purple = '#af5fff'
red = '#ff0000'
green = '#87ff00'
gray = '#626262'
def colorize(color, string):
return '{{{}}}{}'.format(color, string)
lbrkt = colorize(gray, '[')
rbrkt = colorize(gray, ']')
colon = colorize(gray, ':')
user = colorize(purple, '{user}')
host = colorize(blue, '{hostname}')
dir = colorize(green, '{cwd}')
branch = colorize(orange, '{curr_branch}')
$PROMPT = "{prompt_end} "
$RIGHT_PROMPT = lbrkt + user + colon + host + colon + dir + branch + rbrkt