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
commit9e635213f5a5145db7b31972050ab75f1aa19c15 (patch)
tree41679a8b50dd33e4cece5ad1b718a93e8026b1ec /store/home/bin/nvr-wait
parent3c8127fe2a955dae09c8ff4a0626a748b6e79461 (diff)
downloadcrupest-9e635213f5a5145db7b31972050ab75f1aa19c15.tar.gz
crupest-9e635213f5a5145db7b31972050ab75f1aa19c15.tar.bz2
crupest-9e635213f5a5145db7b31972050ab75f1aa19c15.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 "$@"