1
0
mirror of https://github.com/gryf/vmstrap.git synced 2025-12-18 12:00:31 +01:00

Run vim again, for updating showmarks.

This commit is contained in:
2021-04-12 13:13:56 +02:00
parent 8c15a96e1e
commit 2554ca0655

View File

@@ -275,11 +275,11 @@ common_conf() {
cp cleanup.sh ~/
for i in $(seq 0 3); do
ifname=$(ip -j a|jq .[$i].ifname)
ifname=$(ip -j a|jq -r .[$i].ifname)
if [[ "${ifname}" = "lo" ]]; then
continue
fi
ipaddr=$(ip -j a|jq \
ipaddr=$(ip -j a|jq -r \
".[$i].addr_info[] | select(.family == \"inet\") | .local")
break;
done
@@ -300,6 +300,7 @@ common_conf() {
git clone https://github.com/gryf/.vim ~/.vim
# populate plugins
vim -c ':PlugUpdate' -c ':qa!'
vim -c ':qa!'
# showmarks is a stubborn one
mkdir ~/.vim/bundle/ShowMarks/doc
fi