X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/11acfef4bd14528424d58c302268699c13c19178..e8fc408542b2f0a0ace3add47af55ded11f1d862:/.zsh/zshrc/90_cleanfiles diff --git a/.zsh/zshrc/90_cleanfiles b/.zsh/zshrc/90_cleanfiles index 9b35056..20820f1 100644 --- a/.zsh/zshrc/90_cleanfiles +++ b/.zsh/zshrc/90_cleanfiles @@ -10,7 +10,8 @@ typeset -la rmfiles -cd ~ +_OLDPWD="$PWD" +builtin cd ~ rmfiles+=plugin131.trace rmfiles+=minicom.log @@ -23,9 +24,9 @@ rmfiles+=.gksu.lock rmfiles+=.*.sw[mnop] rmfiles+=.viminfo rmfiles+=.bash_history -rmfiles+=.xsession-errors rmfiles+=core rmfiles+=nohup.out +rmfiles+=typescript typeset -la _rmfiles @@ -43,4 +44,7 @@ fi unset _rmfiles +builtin cd $_OLDPWD +unset _OLDPWD + # vim:ft=zsh