summaryrefslogtreecommitdiff
path: root/mut/bin
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-02-28 21:51:16 +0100
committerMike Vink <mike@pionative.com>2024-02-28 21:51:16 +0100
commit9d6e650ae42e9f858ba0a695d581b0c24f1cb9de (patch)
tree40c5ac5b94150e7e43dc5a28a2fabedba73688de /mut/bin
parent7186e7296d264de7d1bbd6b6df999d2c9aa0297c (diff)
update
Diffstat (limited to 'mut/bin')
-rwxr-xr-xmut/bin/vremote4
1 files changed, 2 insertions, 2 deletions
diff --git a/mut/bin/vremote b/mut/bin/vremote
index cc74817..7b0ee06 100755
--- a/mut/bin/vremote
+++ b/mut/bin/vremote
@@ -1,9 +1,9 @@
#!/bin/bash
-export PATH="/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin:/usr/bin"
+PATH="/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin:/usr/bin:/bin"
server_pipe="$XDG_CACHE_HOME/nvim/server.pipe"
(
if ! [ -e "$server_pipe" ]; then
- PATH="/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin:/usr/bin" nohup nvim --listen "$server_pipe" --headless >/dev/null 2>&1 &
+ 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())")' \