2020-12-23 22:58:38 +01:00
|
|
|
# XONSH WEBCONFIG START
|
|
|
|
$PROMPT = '{env_name}{BOLD_GREEN}{user}@{hostname}{BOLD_BLUE} {cwd}{branch_color}{curr_branch: {}}{RESET} {BOLD_BLUE}{prompt_end}{RESET} '
|
|
|
|
# XONSH WEBCONFIG END
|
|
|
|
|
2020-12-23 23:46:05 +01:00
|
|
|
# env
|
|
|
|
$PATH.insert(0, $HOME+'/bin')
|
|
|
|
$PATH.insert(0, $HOME+'/bin')
|
|
|
|
$PATH.insert(0, $HOME+'/.local/bin')
|
|
|
|
$PATH.insert(0, $HOME+'/.cargo/bin')
|
|
|
|
$PATH.insert(0, $HOME+'/.gem/ruby/2.7.0/bin')
|
|
|
|
|
|
|
|
$DATA = '/media/me/dataDrive'
|
|
|
|
|
|
|
|
$UPDATE_OS_ENVIRON = True
|
|
|
|
|
|
|
|
if ${...}.get('XDG_CURRENT_DESKTOP', '') != "KDE" and \
|
|
|
|
${...}.get('XDG_CURRENT_DESKTOP', '') != "GNOME":
|
|
|
|
$QT_QPA_PLATFORMTHEME = "qt5ct"
|
|
|
|
|
2020-12-23 22:58:38 +01:00
|
|
|
# navigation
|
|
|
|
aliases['..'] = 'cd ..'
|
|
|
|
aliases['...'] = 'cd ../.'
|
|
|
|
aliases['.3'] = 'cd ../../..'
|
|
|
|
aliases['.4'] = 'cd ../../../..'
|
|
|
|
aliases['.5'] = 'cd ../../../../..'
|
|
|
|
|
|
|
|
# vi = vim
|
|
|
|
aliases['vi'] = 'vim'
|
|
|
|
|
2020-12-23 23:46:05 +01:00
|
|
|
# Package manager
|
|
|
|
aliases['upgrade'] = 'pacman -Suy && yay -Suy'
|
|
|
|
|
2020-12-23 22:58:38 +01:00
|
|
|
# git
|
|
|
|
aliases['add'] = 'git add'
|
|
|
|
aliases['branch'] = 'git branch'
|
|
|
|
aliases['commit'] = 'git commit -am'
|
|
|
|
aliases['clone'] = 'git clone'
|
|
|
|
aliases['pull'] = 'git pull'
|
|
|
|
aliases['push'] = 'git push'
|
|
|
|
aliases['merge'] = 'git merge'
|
|
|
|
aliases['status'] = 'git status'
|
|
|
|
aliases['rebase'] = 'git rebase'
|
|
|
|
aliases['checkout'] = 'git checkout'
|
|
|
|
|
|
|
|
# ssh
|
|
|
|
aliases['proxy_hindley'] = 'ssh -D 8080 hindley.adh.auro.re'
|
|
|
|
|
|
|
|
# config
|
|
|
|
aliases['config'] = '/usr/bin/git --git-dir=/home/me/.cfg/ --work-tree=/home/me'
|
|
|
|
|
2020-12-23 23:46:05 +01:00
|
|
|
# fix some shit
|
|
|
|
aliases["alsamixer"] = "$[/usr/bin/alsamixer]"
|