26 lines
856 B
Bash
Executable File
26 lines
856 B
Bash
Executable File
#!/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
|
|
|