-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcleanup.sh
More file actions
executable file
·65 lines (55 loc) · 1.57 KB
/
cleanup.sh
File metadata and controls
executable file
·65 lines (55 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env bash
export DOT_FILES_DIR=$HOME/.hiren
source "$DOT_FILES_DIR/setup_utils.sh"
# unlinks
unlink "$HOME/.ackrc"
unlink "$HOME/.alacritty.yml"
unlink "$HOME/.clocignore"
unlink "$HOME/.ctags"
unlink "$HOME/.fdignore"
unlink "$HOME/.fxrc"
unlink "$HOME/.gitconfig"
unlink "$HOME/.gitignore_global"
unlink "$HOME/.inputrc"
unlink "$HOME/.pryrc"
unlink "$HOME/.rgignore"
unlink "$HOME/.tigrc"
# vs code configs
VS_CODE_HOME="$HOME/Library/Application Support/Code/User"
unlink "$VS_CODE_HOME/settings.json"
unlink "$VS_CODE_HOME/keybindings.json"
# vs code configs
VS_CODE_HOME="$HOME/Library/Application Support/Cursor/User"
unlink "$VS_CODE_HOME/settings.json"
unlink "$VS_CODE_HOME/keybindings.json"
# big ones
unlink "$HOME/.bashrc"
unlink "$HOME/.bash_profile"
unlink "$HOME/.zshrc"
unlink "$HOME/.zprofile"
# unlink, but directory can remain
unlink "$HOME/.config/alacritty/alacritty.yml"
unlink "$HOME/.config/nvim"
unlink "$HOME/.config/gh-dash"
unlink "$HOME/.ideavimrc"
# unlink bin and symlinked binaries
rm -f "$HOME/bin"
# unlink misc
rm -f "$HOME/nice-noise-loops"
# cleanings
rm -rf "$DOT_FILES_DIR/.oh-my-zsh"
rm -rf "$DOT_FILES_DIR/.vim"
rm -rf "$DOT_FILES_DIR/bat"
rm -rf "$DOT_FILES_DIR/cheat.sh"
rm -rf "$DOT_FILES_DIR/clipboard-listener-macos"
rm -rf "$DOT_FILES_DIR/fd"
rm -rf "$DOT_FILES_DIR/fzf"
rm -rf "$DOT_FILES_DIR/fzf-tab-completion"
rm -rf "$DOT_FILES_DIR/made"
rm -rf "$DOT_FILES_DIR/pgdiff"
rm -rf "$DOT_FILES_DIR/pure"
rm -rf "$DOT_FILES_DIR/ripgrep"
rm -rf "$DOT_FILES_DIR/utils"
rm -rf "$HOME/.local/share/nvim"
rm -rf "$HOME/.oh-my-zsh"
echo "Done."