From f409b2c14b03f71fe4690f380ed8aa87eb8a5c10 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 20 Apr 2022 17:07:08 +0200 Subject: [PATCH] add testvim.zsh --- testvim.zsh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 testvim.zsh diff --git a/testvim.zsh b/testvim.zsh new file mode 100755 index 0000000..bbfb313 --- /dev/null +++ b/testvim.zsh @@ -0,0 +1,14 @@ +#!/bin/zsh + +set -xe + +nutmp=$(mktemp -d) +cd "$nutmp" +unset nutmp + +for i in {1..20}; do + vim --startuptime start$i.log; +done + +find start* -exec grep STARTED {} \; | cut -d' ' -f1 +