blob: 82f284930fd4b7a1820d5dbeb923a3e842ace516 (
plain)
1
2
3
4
5
6
7
8
9
|
# making sure XDG is set properly
XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache}
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
post-remove() {
[[ -d $XDG_CONFIG_HOME/aursh ]] && rm -rf "$XDG_CONFIG_HOME/aursh"
[[ -d $XDG_CACHE_HOME/aursh ]] && rm -rf "$XDG_CACHE_HOME/aursh"
[[ -d $HOME/.aursh ]] && rm -rf "$HOME/.aursh"
}
|