Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set vi mode

  • Loading branch information...
commit b329b4cdacda2573e628e793acbf4dfcb46f07d8 1 parent 56e731b
@quiteliderally authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 bash
View
10 bash
@@ -7,6 +7,7 @@ shopt -s histappend
DOTFILES_PATH=~/.dotfiles
shopt -s checkwinsize
+set -o vi
. $DOTFILES_PATH/colors
@@ -44,5 +45,10 @@ export CDPATH='.:~:~/projects'
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export EDITOR=vim
-export PATH="${PATH}$(find -L ~/software/bin -iname 'bin' -type d -printf ':%p')"
-export CLASSPATH="${CLASSPATH}$(find -L ~/software/classpath -iname '*.jar' -printf ':%h\n' | uniq | tr -d '\n')"
+if [ -d "~/software/bin" ]; then
+ export PATH="${PATH}$(find -L ~/software/bin -iname 'bin' -type d -printf ':%p')"
+fi
+
+if [ -d "~/software/classpath" ]; then
+ export CLASSPATH="${CLASSPATH}$(find -L ~/software/classpath -iname '*.jar' -printf ':%h\n' | uniq | tr -d '\n')"
+fi
Please sign in to comment.
Something went wrong with that request. Please try again.