Added script to manaully create symlinks
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user