Move dotfiles to root

This commit is contained in:
Devon Tingley 2022-10-05 17:19:12 -04:00
parent f445d85ee1
commit b6368d07ed
46 changed files with 5 additions and 21 deletions

View file

@ -1,17 +0,0 @@
#!/usr/bin/env bash
TYPE=$(gum choose "fix" "feat" "docs" "ci" "style" "refactor" "test" "chore" "revert")
SCOPE=$(gum input --placeholder "scope")
test -n "$SCOPE" && SCOPE="($SCOPE)"
TO_COMMIT=$(gum choose --no-limit $(git ls-files --modified --others --exclude-standard))
SUMMARY=$(gum input --value "$TYPE$SCOPE: " --placeholder "Commit Summary")
DESCRIPTION=$(gum write --placeholder "Details of this change...")
gum confirm "Commit?"
if [[ "$?" -eq 0 ]]; then
git add $TO_COMMIT;
git commit -m "$SUMMARY" -m "$DESCRIPTION";
fi

View file

@ -1,4 +0,0 @@
#!/bin/bash
for conf in $(ls dotfiles); do
ln -sn $PWD/dotfiles/$conf $HOME/.config/$conf
done

View file

@ -0,0 +1,5 @@
function fish_update_dotfiles
for conf in (ls)
ln --force -sn $PWD/$conf $HOME/.config/$conf
end
end