unixconf/unixconf.sh

21 lines
417 B
Bash
Executable File

#!/bin/sh
gitlink="https://gitlab.cpy.re/florian/unixconf"
if (! test -d "$HOME/.vim" ); then
mkdir "$HOME/.vim"
fi
musthaves="git vim ssh-agent urxvt"
for musthave in $musthaves; do
which "$musthave" >/dev/null 2>&1
if [ "$?" -ne 0 ]; then
echo "You should install ${musthave}."
exit
fi
done
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"