diff --git a/.bash_aliases b/.bash_aliases index a1d2eb7..2af1deb 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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' diff --git a/.envars b/.envars index 6b02315..335a34e 100644 --- a/.envars +++ b/.envars @@ -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 " diff --git a/.vim/.netrwhist b/.vim/.netrwhist index 90a070b..9c96ea4 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -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' diff --git a/.vim/bundle/Vundle.vim b/.vim/bundle/Vundle.vim index 6437ad6..fcc2042 160000 --- a/.vim/bundle/Vundle.vim +++ b/.vim/bundle/Vundle.vim @@ -1 +1 @@ -Subproject commit 6437ad6df4a3e6a87c5fb8bd2b8aadb277ec9c87 +Subproject commit fcc204205e3305c4f86f07e09cd756c7d06f0f00 diff --git a/.vim/bundle/vim-markdown-preview b/.vim/bundle/vim-markdown-preview new file mode 160000 index 0000000..bdb4454 --- /dev/null +++ b/.vim/bundle/vim-markdown-preview @@ -0,0 +1 @@ +Subproject commit bdb4454ab0dfb29d8b84b2515d77d013bed564d8 diff --git a/.vim/bundle/vim-pydocstring b/.vim/bundle/vim-pydocstring new file mode 160000 index 0000000..07635ee --- /dev/null +++ b/.vim/bundle/vim-pydocstring @@ -0,0 +1 @@ +Subproject commit 07635eee212a62889ebc3f3561fef458478ffcfd diff --git a/.vimrc b/.vimrc index 2ce79c7..d515ecf 100644 --- a/.vimrc +++ b/.vimrc @@ -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 diff --git a/.xonshrc b/.xonshrc new file mode 100644 index 0000000..5be6f3f --- /dev/null +++ b/.xonshrc @@ -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[;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