X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/11acfef4bd14528424d58c302268699c13c19178..0c8578c5d516bd031e2ea8148db8e6fe3c37f326:/.zsh/zshrc/90_cleanfiles?ds=sidebyside diff --git a/.zsh/zshrc/90_cleanfiles b/.zsh/zshrc/90_cleanfiles index 9b35056..c5650cf 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,7 +24,6 @@ rmfiles+=.gksu.lock rmfiles+=.*.sw[mnop] rmfiles+=.viminfo rmfiles+=.bash_history -rmfiles+=.xsession-errors rmfiles+=core rmfiles+=nohup.out @@ -43,4 +43,7 @@ fi unset _rmfiles +builtin cd $_OLDPWD +unset _OLDPWD + # vim:ft=zsh