Add support for removing install bit
This commit is contained in:
parent
e34ab01831
commit
ae4b2a4b44
2 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,7 @@ git pull
|
|||
This will reset all programs to their original state and remove `~/.dotfiles` completely.
|
||||
```bash
|
||||
cd "$HOME/.dotfiles"
|
||||
env REMOVE_REPOSITORIES=true ./uninstall.sh
|
||||
env REMOVE_INSTALLBIT=true REMOVE_REPOSITORIES=true ./uninstall.sh
|
||||
cd "$HOME"
|
||||
rm -rf "$HOME/.dotfiles"
|
||||
```
|
||||
|
|
|
@ -12,6 +12,9 @@ function unlink() {
|
|||
# repositories
|
||||
[[ -n "$REMOVE_REPOSITORIES" ]] && rm -rf "jstmbash" "dracula-mc"
|
||||
|
||||
# install bit
|
||||
[[ -n "$REMOVE_INSTALLBIT" ]] && rm -rf "$HOME/.config/.jstm_dotfiles"
|
||||
|
||||
# jobrunner
|
||||
unlink ".local/bin/jobrunner"
|
||||
unlink ".local/bin/jobrunner-runjob"
|
||||
|
|
Loading…
Reference in a new issue