X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/8396e43096412c4a09e0203b4700439ff3524290..613dfe05e23387248b2b163ebc2e064d26ceb80f:/.zsh/zshrc/90_cleanfiles?ds=inline diff --git a/.zsh/zshrc/90_cleanfiles b/.zsh/zshrc/90_cleanfiles index 5e333d7..7bab8d4 100644 --- a/.zsh/zshrc/90_cleanfiles +++ b/.zsh/zshrc/90_cleanfiles @@ -10,21 +10,22 @@ typeset -la rmfiles -cd ~ - -rmfiles+=plugin131.trace -rmfiles+=minicom.log -rmfiles+=.cshrc -rmfiles+=java.log.* -rmfiles+=unison.log -rmfiles+=.bzr.log -rmfiles+=.fonts.cache-1 -rmfiles+=.gksu.lock -rmfiles+=.*.sw[mnop] -rmfiles+=.viminfo -rmfiles+=.bash_history -rmfiles+=core -rmfiles+=nohup.out +rmfiles+=~/plugin131.trace +rmfiles+=~/minicom.log +rmfiles+=~/.cshrc +rmfiles+=~/java.log.*(N) +rmfiles+=~/unison.log +rmfiles+=~/.bzr.log +rmfiles+=~/.fonts.cache-1 +rmfiles+=~/.gksu.lock +rmfiles+=~/.*.sw[mnop](N) +rmfiles+=~/.viminfo +rmfiles+=~/.bash_history +rmfiles+=~/core +rmfiles+=~/nohup.out +rmfiles+=~/typescript +rmfiles+=~/jpilot.log +rmfiles+=~/srtp.log typeset -la _rmfiles @@ -36,7 +37,7 @@ done unset rmfiles if [[ -n $_rmfiles ]]; then - info "Removing files: ${_rmfiles[@]}..." + info "Removing files: ${(j: :)${_rmfiles#$HOME/}}..." rm -f ${_rmfiles[@]} fi