update .xonshrc
This commit is contained in:
parent
30f1162cb6
commit
8ca64fa9bf
1 changed files with 20 additions and 0 deletions
20
.xonshrc
20
.xonshrc
|
@ -2,6 +2,21 @@
|
||||||
$PROMPT = '{env_name}{BOLD_GREEN}{user}@{hostname}{BOLD_BLUE} {cwd}{branch_color}{curr_branch: {}}{RESET} {BOLD_BLUE}{prompt_end}{RESET} '
|
$PROMPT = '{env_name}{BOLD_GREEN}{user}@{hostname}{BOLD_BLUE} {cwd}{branch_color}{curr_branch: {}}{RESET} {BOLD_BLUE}{prompt_end}{RESET} '
|
||||||
# XONSH WEBCONFIG END
|
# XONSH WEBCONFIG END
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
# navigation
|
# navigation
|
||||||
aliases['..'] = 'cd ..'
|
aliases['..'] = 'cd ..'
|
||||||
aliases['...'] = 'cd ../.'
|
aliases['...'] = 'cd ../.'
|
||||||
|
@ -12,6 +27,9 @@ aliases['.5'] = 'cd ../../../../..'
|
||||||
# vi = vim
|
# vi = vim
|
||||||
aliases['vi'] = 'vim'
|
aliases['vi'] = 'vim'
|
||||||
|
|
||||||
|
# Package manager
|
||||||
|
aliases['upgrade'] = 'pacman -Suy && yay -Suy'
|
||||||
|
|
||||||
# git
|
# git
|
||||||
aliases['add'] = 'git add'
|
aliases['add'] = 'git add'
|
||||||
aliases['branch'] = 'git branch'
|
aliases['branch'] = 'git branch'
|
||||||
|
@ -30,3 +48,5 @@ aliases['proxy_hindley'] = 'ssh -D 8080 hindley.adh.auro.re'
|
||||||
# config
|
# config
|
||||||
aliases['config'] = '/usr/bin/git --git-dir=/home/me/.cfg/ --work-tree=/home/me'
|
aliases['config'] = '/usr/bin/git --git-dir=/home/me/.cfg/ --work-tree=/home/me'
|
||||||
|
|
||||||
|
# fix some shit
|
||||||
|
aliases["alsamixer"] = "$[/usr/bin/alsamixer]"
|
||||||
|
|
Loading…
Reference in a new issue