#zsh

(1)

I accidentally mount /dev/null in a docker container as a file with volume', this cause some error in zsh` shell :

git_current_branch:2: permission denied: /dev/null                                                                               
git_current_branch:6: permission denied: /dev/null

This is because it change its permissions, solution is remove and recreate it :)

rm -f /dev/null; mknod -m 666 /dev/null c 1 3