Commit 3d2c1cbd authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove FROM_ALIAS when launching vim thru vim.remote

parent 32253a2d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
#!/bin/sh
if ! type nvr >/dev/null 2>&1 || [ -z "$NVIM_LISTEN_ADDRESS" ]; then
	unset FROM_ALIAS
	exec vim "$@"
elif [ -n "$FROM_ALIAS" ]; then
	unset FROM_ALIAS