dotfiles/scripts/post-install.sh

14 lines
282 B
Bash
Raw Normal View History

2024-06-25 00:06:22 +02:00
#!/bin/sh
# basic git configuration
2024-10-15 00:44:53 +02:00
if [ ! -d "${XDG_CONFIG_HOME}/git" ]; then
mkdir -p "${XDG_CONFIG_HOME}/git"
cat << EOF > "${XDG_CONFIG_HOME}/git/config"
2024-06-25 00:06:22 +02:00
[pull]
rebase = true
EOF
fi
# nvim setup
nvim -c "lua require('lazy').sync({wait = true})" -c "MasonInstallAll"