fix for zsh

freeze command does not work on zsh. This commit fixes it.