xonshrc added

This commit is contained in:
booboy 2018-01-10 02:22:44 -06:00
parent 691a769fc3
commit 9588d61306
8 changed files with 27 additions and 5 deletions

View file

@ -6,7 +6,7 @@ alias ls='ls --color=auto'
alias functions="grep \(\) ~/.bash_functions | grep -E -v '\#|\*'"
alias Grep='grep'
alias dict='/usr/bin/sdcv'
alias wiki='/usr/bin/python2 /home/booboy/bin/mygit/wikipedia_search/wikipedia_search.py'
alias wiki='/usr/bin/python2 ~/bin/mygit/misc_pytools/wikipedia_search/wikipedia_search.py'
alias btc='curl -sSL https://coinbase.com/api/v1/prices/historical | head -n 1 | sed "s|^.*,|$|" | sed "s|\(\.[0-9]$\)|\10|"'
alias rfc="/home/booboy/bin/mygit/rfc/rfc.sh"
alias current_temp='python3 /home/booboy/bin/mygit/misc_pytools/get_weather/weather.py |grep "\"temp\":" | tr -d ','| column -t'

View file

@ -7,7 +7,7 @@ export PATH=$PATH:$HOME/bin
# green@white[abspath]
export PS1="\[\e[32m\]\u\[\e[m\]@\H\[\e[36m\][\[\e[m\]\[\e[33m\]\w\[\e[m\]\[\e[36m\]]\[\e[m\]: "
# red@white[abspath]
export PS1="\[\e[31m\]\u\[\e[m\]@\H\[\e[36m\][\[\e[m\]\[\e[33m\]\w\[\e[m\]\[\e[36m\]]\[\e[m\]: "
#export PS1="\[\e[31m\]\u\[\e[m\]@\H\[\e[36m\][\[\e[m\]\[\e[33m\]\w\[\e[m\]\[\e[36m\]]\[\e[m\]: "
export EDITOR=vim
export HISTTIMEFORMAT="%d/%m/%y %T "

View file

@ -1,5 +1,5 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =7
let g:netrw_dirhist_cnt =9
let g:netrw_dirhist_1='/home/booboy/bin/git_programs/dotfiles/install'
let g:netrw_dirhist_2='/home/booboy/bin/git/get_weather.py'
let g:netrw_dirhist_3='/home/booboy/bin/git/get_weather/.git'
@ -7,3 +7,5 @@ let g:netrw_dirhist_4='/var/www/html/brendan.mcdevitt.tech/_layouts'
let g:netrw_dirhist_5='/usr/local/vm/vagrant_scripts/.git'
let g:netrw_dirhist_6='/etc/firewalld/services'
let g:netrw_dirhist_7='/home/booboy/bin/mygit/security_python_scripts/.git'
let g:netrw_dirhist_8='/home/booboy/bin/mygit/cryptobot/.git'
let g:netrw_dirhist_9='/home/booboy/bin/mygit/misc_pytools/discord_chat_bot'

@ -1 +1 @@
Subproject commit 6437ad6df4a3e6a87c5fb8bd2b8aadb277ec9c87
Subproject commit fcc204205e3305c4f86f07e09cd756c7d06f0f00

@ -0,0 +1 @@
Subproject commit bdb4454ab0dfb29d8b84b2515d77d013bed564d8

@ -0,0 +1 @@
Subproject commit 07635eee212a62889ebc3f3561fef458478ffcfd

4
.vimrc
View file

@ -52,6 +52,10 @@ set softtabstop=4 " insert/delete 4 spaces when hitting a TAB/BACKSPACE
set autoindent " align the new line indent with the previous line
set fileformat=unix
" markdown preview plugin
Plugin 'JamshedVesuna/vim-markdown-preview'
Plugin 'heavenshell/vim-pydocstring'
set encoding=utf-8
let g:syntastic_check_on_open = 1

14
.xonshrc Normal file
View file

@ -0,0 +1,14 @@
alias l='ls -lah'
alias ll='ls -lah'
$XONSH_COLOR_STYLE='vim'
# Coloured man page support
# using 'less' env vars (format is '\E[<brightness>;<colour>m')
$LESS_TERMCAP_mb = "\033[01;31m" # begin blinking
$LESS_TERMCAP_md = "\033[01;31m" # begin bold
$LESS_TERMCAP_me = "\033[0m" # end mode
$LESS_TERMCAP_so = "\033[01;44;36m" # begin standout-mode (bottom of screen)
$LESS_TERMCAP_se = "\033[0m" # end standout-mode
$LESS_TERMCAP_us = "\033[00;36m" # begin underline
$LESS_TERMCAP_ue = "\033[0m" # end underline