Added script to manaully create symlinks

This commit is contained in:
2024-02-18 15:22:42 -05:00
parent 3a1a81a671
commit eb31c22500

View File

@@ -12,9 +12,12 @@
#=============================================================================== #===============================================================================
# If regular files exists, remove them # If regular files exists, remove them
[[ -f $HOME/.zshrc ]] && rm $HOME/.zshrc [[ -f $HOME/.vimrc ]] && rm $HOME/.vimrc
[[ -f $HOME/.fzf.zsh ]] && rm $HOME/.fzf.zsh [[ -d $HOME/.vim ]] && rm $HOME/.vim
# If symlinks don't exist, create them # If symlinks exist, unlink them
[[ -L $HOME/.zshrc ]] || ln -s dotfiles-zsh/.zshrc $HOME/.zshrc [[ -L $HOME/.vimrc ]] && unlink $HOME/.vimrc
[[ -L $HOME/.fzf.zsh ]] || ln -s dotfiles-zsh/.fzf.zsh $HOME/.fzf.zsh [[ -L $HOME/.vim ]] && unlink $HOME/.vim
ln -s $PWD/.vimrc $HOME/.vimrc
ln -s $PWD/.vim $HOME/.vim