X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/8396e43096412c4a09e0203b4700439ff3524290..077178cc5a249b192b9d0c62832409b322553a73:/.zsh/zshrc/90_cleanfiles diff --git a/.zsh/zshrc/90_cleanfiles b/.zsh/zshrc/90_cleanfiles index 5e333d7..b558145 100644 --- a/.zsh/zshrc/90_cleanfiles +++ b/.zsh/zshrc/90_cleanfiles @@ -10,21 +10,23 @@ typeset -la rmfiles -cd ~ +_OLDPWD="$PWD" +builtin cd ~ rmfiles+=plugin131.trace rmfiles+=minicom.log rmfiles+=.cshrc -rmfiles+=java.log.* +rmfiles+=java.log.*(N) rmfiles+=unison.log rmfiles+=.bzr.log rmfiles+=.fonts.cache-1 rmfiles+=.gksu.lock -rmfiles+=.*.sw[mnop] +rmfiles+=.*.sw[mnop](N) rmfiles+=.viminfo rmfiles+=.bash_history rmfiles+=core rmfiles+=nohup.out +rmfiles+=typescript typeset -la _rmfiles @@ -42,4 +44,7 @@ fi unset _rmfiles +builtin cd $_OLDPWD +unset _OLDPWD + # vim:ft=zsh