foodotfiles/home/.config/systemd/user/nvim-remote-ssh@.service
2024-01-24 13:52:46 +02:00

14 lines
265 B
Desktop File

[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