dotfiles/home/.config/systemd/user/nvim-remote-ssh@.service

14 lines
265 B
SYSTEMD
Raw Normal View History

2024-01-24 13:52:46 +02:00
[Unit]
Description=Neovim remote SSH socket
# Pass arguments https://superuser.com/a/1282178
[Service]
Type=simple
Environment="SCRIPT_ARGS=%I"
ExecStart=%h/.local/bin/nvim-remote-ssh $SCRIPT_ARGS
Restart=on-failure
RestartSec=1
[Install]
WantedBy=default.target