nixos adjustments (PATHs mostly)
This commit is contained in:
parent
d22ce20dcf
commit
6a5196b4d4
7 changed files with 179 additions and 190 deletions
|
@ -18,6 +18,7 @@ fi
|
|||
|
||||
fre --store_name "edit-history" --add "$_file"
|
||||
|
||||
rm -f "$XDG_RUNTIME_DIR/nvim-persistent.sock"
|
||||
nvim --server "$XDG_RUNTIME_DIR/nvim-persistent.sock" --remote "$_file" &>/dev/null
|
||||
|
||||
# Wezterm: switch tab to nvim
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
# Use local xdg-open if not in an ssh session
|
||||
[ -n "$SSH_TTY" ] || exec /usr/bin/xdg-open "$@"
|
||||
[ -n "$SSH_TTY" ] || exec xdg-open "$@"
|
||||
|
||||
if [ -p /dev/stdin ]; then
|
||||
exec nc -U "$XDG_RUNTIME_DIR/opener.sock" </dev/stdin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue