X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/8396e43096412c4a09e0203b4700439ff3524290..e7224a09f84f5983b9ca5254ab41adc867e32bcf:/.zsh/zshrc/90_cleanfiles diff --git a/.zsh/zshrc/90_cleanfiles b/.zsh/zshrc/90_cleanfiles index 5e333d7..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 @@ -42,4 +43,7 @@ fi unset _rmfiles +builtin cd $_OLDPWD +unset _OLDPWD + # vim:ft=zsh