Add chown to set permissions properly

This commit is contained in:
Ryan Hughes
2025-10-15 12:48:32 -04:00
parent 985a594bf4
commit e6f73e3a3f
@@ -44,6 +44,11 @@ cp -r "$PACKAGE_DIR/config" "$CONFIG_DIR"
cp -r "$PACKAGE_DIR/data" "$DATA_DIR" cp -r "$PACKAGE_DIR/data" "$DATA_DIR"
cp -r "$PACKAGE_DIR/cache" "$CACHE_DIR" cp -r "$PACKAGE_DIR/cache" "$CACHE_DIR"
# Ensure proper ownership of all nvim directories
chown -R "${USER}:${USER}" "$CONFIG_DIR"
chown -R "${USER}:${USER}" "$DATA_DIR"
chown -R "${USER}:${USER}" "$CACHE_DIR"
# Create link for current theme # Create link for current theme
ln -snf "${HOME}/.config/omarchy/current/theme/neovim.lua" "${CONFIG_DIR}/lua/plugins/theme.lua" ln -snf "${HOME}/.config/omarchy/current/theme/neovim.lua" "${CONFIG_DIR}/lua/plugins/theme.lua"