aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index c72aa7a..f9cbd86 100755
--- a/install.sh
+++ b/install.sh
@@ -36,11 +36,11 @@ for _f in dotfiles/* ; do
setLink -s "$src" -d "$dest"
done
-_nvimdir="${confdir}/nvim"
-if ! [ -d "$_nvimdir" ] ; then
- mkdir -p "$_nvimdir"
-fi
-setLink -s "$(pwd)/dotfiles/nvim/init.lua" -d "$_nvimdir/init.lua"
+# if we're using plain vim, we may not have a modern version with xdg
+# support for ~/.config/vim
+setLink -s "$(pwd)/dotfiles/vim" -d "$HOME/.vim"
+
+setLink -s "$(pwd)/dotfiles/nvim" -d "${confdir}/nvim"
_ghosttydir="${confdir}/ghostty"
if ! [ -d "$_ghosttydir" ] ; then