Add vars and logic for home-dir clean-up, minor obsidian changes

This commit is contained in:
2025-11-18 12:52:04 -06:00
parent 5cbdb77ea0
commit 464b7808f7
15 changed files with 87 additions and 103 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/sh
# adjust settings in src_files/shell/profile, src_files/shell/rc, or otherwise
# where feasible. if not feasible and i don't care about the programs, just
# wipe out the associated files.
################
# clean up and re-org
[ -d "$HOME/.cups" ] &&
mv "$HOME"/.cups/* "$XDG_CONFIG_HOME/cups/" &&
rmdir "$HOME/.cups"
################
# wipe out
rm -rf "$HOME"/.bash*
rm -rf "$HOME"/.sh_history # HISTFILE should be used instead, so just wipe this if present
rm -rf "$HOME"/.python_history # since v 3.13.0a3, respects PYTHON_HISTORY; just wipe this
rm -rf "$HOME"/.ruby-lsp # not sure if i want this or not, just delete for now
rm -rf "$HOME"/.vim* # using neovim, so if any vim stuff is made, delete it
[ -d "$HOME/Public" ] && sudo rm -rf "$HOME/Public" # apple
[ -d "$HOME/Documents" ] && sudo rm -rf "$HOME/Documents" # apple