Fixed bash syntax in vimclip script
This commit is contained in:
parent
2246ae3eaa
commit
73a822057d
|
@ -19,9 +19,9 @@ let vimclip = pkgs.stdenv.mkDerivation rec {
|
||||||
pkgs.writeShellScriptBin "vimclip" ''
|
pkgs.writeShellScriptBin "vimclip" ''
|
||||||
if ["wayland" = $XDG_SESSION_TYPE]
|
if ["wayland" = $XDG_SESSION_TYPE]
|
||||||
then
|
then
|
||||||
export VIMCLIP_CLIPBOARD_COMMAND = ${pkgs.wl-clipboard}/bin/wl-copy
|
export VIMCLIP_CLIPBOARD_COMMAND=${pkgs.wl-clipboard}/bin/wl-copy
|
||||||
else
|
else
|
||||||
export VIMCLIP_CLIPBOARD_COMMAND = ${lib.getExe pkgs.xsel}
|
export VIMCLIP_CLIPBOARD_COMMAND=${lib.getExe pkgs.xsel}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${lib.getExe vimclip}
|
${lib.getExe vimclip}
|
||||||
|
|
Loading…
Reference in a new issue