aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2025-01-22 08:39:41 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2025-01-22 08:39:41 -0500
commite2b0c4a4ee95d9e05162da15e5dc89484c03f599 (patch)
tree7e45a643ec3775ef0c557dc02d32ce4906ab87d5 /install.sh
parentbccc1e5ae58a9ca83bf7ad689f8970e9a3db2a1d (diff)
downloaddotfiles-e2b0c4a4ee95d9e05162da15e5dc89484c03f599.tar.gz
dotfiles-e2b0c4a4ee95d9e05162da15e5dc89484c03f599.tar.xz
Add nvim configuration
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 179a8d5..c457ecb 100755
--- a/install.sh
+++ b/install.sh
@@ -26,9 +26,19 @@ for _f in dotfiles/* ; do
src="$(pwd)/$_f"
dest="$HOME/.$(basename "$_f")"
+ if ! [ -f "$src" ] ; then
+ continue
+ fi
+
setLink -s "$src" -d "$dest"
done
+_nvimdir="$HOME/.config/nvim"
+if ! [ -d "$_nvimdir" ] ; then
+ mkdir "$_nvimdir"
+fi
+setLink -s "$(pwd)/dotfiles/nvim/init.lua" -d "$_nvimdir/init.lua"
+
if ! [ -d "$HOME/bin" ] ; then mkdir "$HOME/bin" ; fi
for _f in bin/* ; do
src="$(pwd)/$_f"