How can I list all dotfiles in a directory using zsh.?
I moved all of my dot files out of
~/ in to ~/data/dotfiles
I then did ln -s ~/data/dotfiles/[filename] ~/
My intention was ln -s ~/data/dotfiles/[filename] ~/[filename]
This included my .vimrc , .bashrc And others
Now when I open a terminal session or open vim I get too many levels of symbolic links.
I'm unsure if I delete the symbolic link from my home directory or from the directory the fi
I have two existing directories :
foo: directory with dotfiles in it
foo2: empty directory
I would like to have a solution to copy all dotfiles in foo to foo2. I would like a solution that is not shell-dependent (bash, zsh, etc.).