add .xonshrc

master
Jean-Marie Mineau 3 years ago
parent 24874dd25c
commit c1a9d2e94c

@ -0,0 +1,32 @@
# 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
# navigation
aliases['..'] = 'cd ..'
aliases['...'] = 'cd ../.'
aliases['.3'] = 'cd ../../..'
aliases['.4'] = 'cd ../../../..'
aliases['.5'] = 'cd ../../../../..'
# vi = vim
aliases['vi'] = 'vim'
# 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'
Loading…
Cancel
Save