dotfiles/bin/dot

18 lines
298 B
Bash
Executable File

#!/usr/bin/env bash
# This is (will be) the dotfile script manager for hedy.
# It will run scripts in ~/dotscripts, that's all I think.
# This script is horrible right now. TODO
if [[ -z "$2" ]]; then
~/dotscripts/bin/"$1"
exit
fi
type="$1"
target="$2"
~/dotscripts/"$type"/"$target"