dotfiles/scripts/post-install.sh

14 lines
278 B
Bash

#!/bin/sh
# basic git configuration
if [[ ! -d ${XDG_CONFIG_HOME}/git ]]; then
mkdir -p ${XDG_CONFIG_HOME}/git
cat << EOF > ${XDG_CONFIG_HOME}/git/config
[pull]
rebase = true
EOF
fi
# nvim setup
nvim -c "lua require('lazy').sync({wait = true})" -c "MasonInstallAll"