Files
df/manager/setup.sh
2021-04-07 00:30:13 +02:00

21 lines
269 B
Bash
Executable File

#!/bin/sh
DF_DIR="$HOME/.config/dotfiles"
REPO="https://git.nubo.sh/hulthe/df.git"
CARGO_BIN="$HOME/.cargo/bin"
set -x
set -e
if [[ -d "$DF_DIR" ]]; then
cd $DF_DIR
git pull
else
git clone $REPO $DF_DIR
fi
cargo install --git $REPO
$CARGO_BIN/dotfiles -v dark