Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix key problems

  • Loading branch information...
commit 67cff4cb7dcefc563020fd5fe401d9f1eaf4060a 1 parent a0f13a6
@mjschultz authored
Showing with 4 additions and 3 deletions.
  1. +3 −2 aws/functions.bash
  2. +1 −1  vim/vimrc.symlink
View
5 aws/functions.bash
@@ -1,10 +1,11 @@
#!/bin/bash
# Load a set of AWS keys
DEFAULT="mjschultz"
+KEYPATH="$DOTPATH/aws/keys.private"
-if [ "${BASH_VERSION/.*/}" -ge "4" ] ; then
+if [ "${BASH_VERSION/.*/}" -ge "4" -a -f "$KEYPATH" ] ; then
declare -A AWS_ACCESS_KEYS AWS_SECRET_KEYS
- source $DOTPATH/aws/keys.private
+ source "$KEYPATH"
fi
aws_keys () {
View
2  vim/vimrc.symlink
@@ -48,7 +48,7 @@ au BufWrite /private/etc/pw.* set nowritebackup
au BufNewFile,BufRead *.txt,*.tex,*.html,svn-commit.tmp,*mutt* set spell
" source cscope definitions
-source cscope.vim
+source ~/.vim/cscope.vim
" set a default color scheme
colorscheme koehler
Please sign in to comment.
Something went wrong with that request. Please try again.