Add post install/update functionality.
This commit is contained in:
parent
da19c0a6c9
commit
c9d2cf6c80
5 changed files with 25 additions and 4 deletions
13
scripts/post-install.sh
Normal file
13
scripts/post-install.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/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"
|
Loading…
Add table
Add a link
Reference in a new issue