From 2554ca0655f185752d5daa5a8590fff737783df2 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 12 Apr 2021 13:13:56 +0200 Subject: [PATCH] Run vim again, for updating showmarks. --- bootstrap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 3cbbb5a..6b5c6ad 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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