minor fixes
This commit is contained in:
parent
510881600d
commit
475d22d2c1
|
@ -1,5 +1,4 @@
|
|||
.config/zsh/.zcompdump
|
||||
.config/nvim/plugin
|
||||
.config/gtk-3.0/bookmarks
|
||||
.config/gtk-2.0/gtkfilechooser.ini
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
[ -e "$1" ] || exit 1
|
||||
getfsroot() {
|
||||
printf "%s" "$(df "$1" --output=target | tail -1)"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue