aboutsummaryrefslogtreecommitdiff
path: root/store/home/bin/nvr-wait
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-03-10 16:56:01 +0800
committerYuqian Yang <crupest@crupest.life>2025-03-10 16:56:01 +0800
commit117afbc9af2cd4fd515d7fdbda8a1fa44c3d8a74 (patch)
treee9854d4d64c65f34389869aae2c57888b747fe58 /store/home/bin/nvr-wait
parent5cab23279b9482ac02e497b7c2588308d6e3acfc (diff)
downloadcrupest-117afbc9af2cd4fd515d7fdbda8a1fa44c3d8a74.tar.gz
crupest-117afbc9af2cd4fd515d7fdbda8a1fa44c3d8a74.tar.bz2
crupest-117afbc9af2cd4fd515d7fdbda8a1fa44c3d8a74.zip
feat(nvim): add more tools.
Diffstat (limited to 'store/home/bin/nvr-wait')
-rwxr-xr-xstore/home/bin/nvr-wait4
1 files changed, 4 insertions, 0 deletions
diff --git a/store/home/bin/nvr-wait b/store/home/bin/nvr-wait
new file mode 100755
index 0000000..410d42d
--- /dev/null
+++ b/store/home/bin/nvr-wait
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export CRU_NVIM_SERVER=${CRU_NVIM_SERVER:-/tmp/nvimsocket}
+exec nvr --nostart --servername "$CRU_NVIM_SERVER" -cc split --remote-wait "$@"