configfiles

All my config files for making a linux box friendlier
git clone git://git.hellocld.com/configfiles
Log | Files | Refs | README

commit 314ca40dbfab6fe8b3d1d3341e6a92f70293d98e
parent c949f1853283377a4f2d9e541e080a3905af7981
Author: Christopher Ray Langford <chris@hellocld.com>
Date:   Mon, 10 Feb 2020 21:48:53 -0500

Updated bash and vim configs

- Removed busted/janky git shell integration
- Added rust stuff to vim plug

Diffstat:
Mbashrc | 32+++++++++++++++++++-------------
Mvim/.vimrc | 1+
2 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/bashrc b/bashrc @@ -26,6 +26,12 @@ esac alias ls='ls --color=auto' alias diff='diff --color=auto' +# Add SteamVR to LD_LIBRARY_PATH to make GodotVR stuff happy +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/mnt/hdd1/source/contrib/godot_openvr/demo/addons/godot-openvr/bin/x11/":"/home/crl/.steam/steam/steamapps/common/SteamVR/bin/" + +# Add pip user installs to the path +export PATH=$PATH:~/.local/bin + # Fun figlet nonsense to sex up the shell figlet -f smslant "Hello `whoami`" fortune @@ -46,19 +52,19 @@ __prompt_command() { PS1="[${GREEN}\A${RESET} \u@\h] ${BLUE}`pwd | sed -e "s/\/home\/crl/~/"`${RESET}" # Customize for git repos - if [ -d .git ]; then - local BRANCH=$(git rev-parse --abbrev-ref HEAD) - local STATUS=$(git status --porcelain) - local LOCAL_STAT="" - if [ $(echo ${STATUS} | wc -c) == 1 ]; then - LOCAL_STAT="${GREEN}✓${RESET}" - else - LOCAL_STAT+="${GREEN}▪$(echo ${STATUS} | grep -i "^[M,A][ ]" | wc -l)${RESET}" - LOCAL_STAT+="${RED}+$(echo ${STATUS} | grep -i "^[ ][M,A]" | wc -l)${RESET}" - LOCAL_STAT+="${BLUE}…$(echo ${STATUS} | grep ?? | wc -l)${RESET}" - fi - PS1+=" [${BRANCH} | ${LOCAL_STAT}]" - fi + #if [ -d .git ]; then + # local BRANCH=$(git rev-parse --abbrev-ref HEAD) + # local STATUS=$(git status --porcelain) + # local LOCAL_STAT="" + # if [ $(echo ${STATUS} | wc -c) == 1 ]; then + # LOCAL_STAT="${GREEN}✓${RESET}" + # else + # LOCAL_STAT+="${GREEN}▪$(echo ${STATUS} | grep -i "^[M,A][ ]" | wc -l)${RESET}" + # LOCAL_STAT+="${RED}+$(echo ${STATUS} | grep -i "^[ ][M,A]" | wc -l)${RESET}" + # LOCAL_STAT+="${BLUE}…$(echo ${STATUS} | grep ?? | wc -l)${RESET}" + # fi + # PS1+=" [${BRANCH} | ${LOCAL_STAT}]" + #fi # Customize exit code output if [ $EXIT != 0 ]; then diff --git a/vim/.vimrc b/vim/.vimrc @@ -15,6 +15,7 @@ Plug 'junegunn/goyo.vim' " Nice, clean viewing mode for writing Plug 'reedes/vim-pencil' " Makes writing in Goyo much nicer Plug 'christoomey/vim-tmux-navigator' Plug 'scrooloose/nerdtree' +Plug 'rust-lang/rust.vim' " Rust stuffs " ^^^^^^^^^