I am trying to write a small zsh (bash compatible) script to take each file in ~/.oh-my-zsh/links directory and creates a hard link for it in ~. I am not sure how to do this. Would this be correct?
pushd .;
cd ~/.oh-my-zsh/links;
ln * ~/*;
popd;
Thanks.