on my mac os system (v. 10.9.3) I wanted to uninstall my zsh so first of all I executed the uninstall script in zsh. This failed so I wanted to delete the affected files by my own and am stuck here.
Everytime i try to rm the .oh-my-zsh directory or the .zsh_history (or any other file) file i get :
rm: /Users/username/.oh-my-zsh: Operation not permitted
I already tried to check for osx flags, but no flags are set (with ls -lO).
Also I tried to give the directory full permission (755) but the deletion also fails.
Does anybody know how to deal with this? Thanks a lot.
see answer, was able to resolve this on my own.