zsh: fix swap directory script