summaryrefslogtreecommitdiff
path: root/mut/bin/vremote
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-02-28 21:49:59 +0100
committerMike Vink <mike@pionative.com>2024-02-28 21:49:59 +0100
commit7186e7296d264de7d1bbd6b6df999d2c9aa0297c (patch)
tree76579e6b6b932b4898f586abda70742f01ed0153 /mut/bin/vremote
parent1673bf123c5bfb4e7b0b9e491d3cccd1ac341bf6 (diff)
fixup
Diffstat (limited to 'mut/bin/vremote')
-rwxr-xr-xmut/bin/vremote2
1 files changed, 1 insertions, 1 deletions
diff --git a/mut/bin/vremote b/mut/bin/vremote
index 200c298..cc74817 100755
--- a/mut/bin/vremote
+++ b/mut/bin/vremote
@@ -3,7 +3,7 @@ export PATH="/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin:/usr/bi
server_pipe="$XDG_CACHE_HOME/nvim/server.pipe"
(
if ! [ -e "$server_pipe" ]; then
- nohup nvim --listen "$server_pipe" --headless >/dev/null 2>&1 &
+ PATH="/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin:/usr/bin" nohup nvim --listen "$server_pipe" --headless >/dev/null 2>&1 &
fi
if nvim --headless --server ~/.cache/nvim/server.pipe --remote-expr 'luaeval("vim.json.encode(vim.iter(vim.api.nvim_list_uis()):map(function(v) return v.chan end):totable())")' \