Some os seem to think of symblink as file vs dir

This commit is contained in:
ViViDboarder 2021-12-16 21:29:31 -08:00
parent 8eb0d63ec0
commit 07ca6b6ddf
1 changed files with 1 additions and 3 deletions

View File

@ -19,9 +19,7 @@ VIM_SYNC_DIR=$(pwd)
# Neovim
mkdir -p "${XDG_CONFIG_HOME:=$HOME/.config}"
# TODO: check nvim version and link either the vim or neovim dirs
# nvim --version | awk '/NVIM v/{ print $2; }'
[ -f "$XDG_CONFIG_HOME/nvim" ] || ln -s "$VIM_SYNC_DIR/neovim" "$XDG_CONFIG_HOME/nvim"
[ -e "$XDG_CONFIG_HOME/nvim" ] || ln -s "$VIM_SYNC_DIR/neovim" "$XDG_CONFIG_HOME/nvim"
# Install all bundles
echo "Install all bundles"