panty 0.7.1

Fast gVim summoner
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# set -euC
# set -x

if [ -f RUNNING_PID ]
then
  kill "$(cat RUNNING_PID)" ||:
  rm RUNNING_PID
fi

sleep 0.5

RUST_BACKTRACE=1 RUST_LOG=debug ./target/debug/panty collector --stocks 5 --watch ~/.vimrc --recursive-watch ~/.vim/part/ --current-directory /tmp/xmosh &
echo "$!" >> RUNNING_PID