|
@@ -23,22 +23,22 @@ ln -s dotFiles/screen/screenrc ~/.screenrc
|
|
|
# Make a known_hosts file if none, otherwise zsh throws an error for our .zshrc
|
|
# Make a known_hosts file if none, otherwise zsh throws an error for our .zshrc
|
|
|
echo "Checking for known_hosts in ~/.ssh/..."
|
|
echo "Checking for known_hosts in ~/.ssh/..."
|
|
|
if test -f "~/.ssh/known_hosts"; then
|
|
if test -f "~/.ssh/known_hosts"; then
|
|
|
|
|
+ echo "known_hosts found..."
|
|
|
|
|
+else
|
|
|
echo "Does not exist. Creating..."
|
|
echo "Does not exist. Creating..."
|
|
|
mkdur -p ~/.ssh
|
|
mkdur -p ~/.ssh
|
|
|
touch ~/.ssh/known_hosts
|
|
touch ~/.ssh/known_hosts
|
|
|
-else
|
|
|
|
|
- echo "known_hosts found. All good..."
|
|
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# Ack for this user (perl 5.8.8 or higher on system)
|
|
# Ack for this user (perl 5.8.8 or higher on system)
|
|
|
# Curl may need to have proxy settings
|
|
# Curl may need to have proxy settings
|
|
|
echo "Checking for ack in ~/bin/..."
|
|
echo "Checking for ack in ~/bin/..."
|
|
|
if test -f "~/bin/ack"; then
|
|
if test -f "~/bin/ack"; then
|
|
|
|
|
+ echo "ack found..."
|
|
|
|
|
+else
|
|
|
echo "Downloading ack from betterthangrep.com..."
|
|
echo "Downloading ack from betterthangrep.com..."
|
|
|
mkdir -p ~/bin
|
|
mkdir -p ~/bin
|
|
|
curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3
|
|
curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3
|
|
|
-else
|
|
|
|
|
- echo "Skipping ack download: already installed..."
|
|
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# This repository has vim plugins as submodules, so initialise and clone them in
|
|
# This repository has vim plugins as submodules, so initialise and clone them in
|