Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wow, bunch of crap in here

  • Loading branch information...
commit 8703f3d7be2cfb527225644f0eed471756541f01 1 parent e1bd031
Charles Butler authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 scripts/setup_my_environment.sh
View
7 scripts/setup_my_environment.sh
@@ -5,12 +5,12 @@
#create a variable to store the current directory the script is executing from
-DIRECTORY=`dirname $0`
+DIRECTORY=$(dirname $0)
#bootstrap sanity check
echo "Executing script from : " $DIR
-cd `dirname ${DIRECTORY}`
+cd $DIRECTORY
#I like having a bin and a lib folder in my $HOME
@@ -20,7 +20,8 @@ cd `dirname ${DIRECTORY}`
#I tend to keep my dotfiles in lib/dotfiles
-if [ ! -d "~/lib/.dotfiles" ]; then
+if [ ! -d "~/lib/dotfiles" ]; then
+ echo "Creating dotfiles symlink"
cd $DIRECTORY
ln -s ~/lib/dotfiles ${DIRECTORY}/../dotfiles
fi
Please sign in to comment.
Something went wrong with that request. Please try again.