1
0
Fork 0

minor fixes

This commit is contained in:
Luca Bilke 2023-11-23 21:26:03 +01:00
parent 510881600d
commit 475d22d2c1
4 changed files with 3 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
.config/zsh/.zcompdump
.config/nvim/plugin
.config/gtk-3.0/bookmarks
.config/gtk-2.0/gtkfilechooser.ini

View File

@ -13,6 +13,8 @@ if ! cd "$DOTS_DIR"; then
fi
printf "\n"
stow -D -t "$HOME" dots || printf "%b" "${RED}Failed to run stow!$NC\n"
printf "%b" "$BOLD${BLUE}Stashing existing changes...$NC\n"
stash_result=$(git stash push -m "sync-dotfiles: Before syncing dotfiles")
needs_pop=1
@ -39,7 +41,7 @@ if [ -n "$unmerged_files" ]; then
printf "%s" "$unmerged_files\n"
else
printf "%b" "$BOLD${BLUE}Symlinking dotfiles...$NC\n\n"
stow -R -t "$HOME" dots || printf "%b" "${RED}Failed to run stow!$NC\n"
stow -t "$HOME" dots || printf "%b" "${RED}Failed to run stow!$NC\n"
fi
printf "%b" "${BOLD}Recompile/Install src files? ${GREEN}Y/N?$NC\n"

View File

@ -1,6 +1,5 @@
#!/bin/sh
set -e
[ -e "$1" ] || exit 1
getfsroot() {
printf "%s" "$(df "$1" --output=target | tail -1)"
}

View File

@ -4,9 +4,6 @@ TODO\.md
\.gitignore
\.gitmodules
\.cache
\.librewolf/generate\.sh
\.librewolf/installs\.template
\.librewolf/profiles\.template
\.local/share/virtualenv
\.config/zsh/configs/host-setup
\.config/X11/xsession\.d/40display-setup