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" ''
|
||||
if ["wayland" = $XDG_SESSION_TYPE]
|
||||
then
|
||||
export VIMCLIP_CLIPBOARD_COMMAND = ${pkgs.wl-clipboard}/bin/wl-copy
|
||||
export VIMCLIP_CLIPBOARD_COMMAND=${pkgs.wl-clipboard}/bin/wl-copy
|
||||
else
|
||||
export VIMCLIP_CLIPBOARD_COMMAND = ${lib.getExe pkgs.xsel}
|
||||
export VIMCLIP_CLIPBOARD_COMMAND=${lib.getExe pkgs.xsel}
|
||||
fi
|
||||
|
||||
${lib.getExe vimclip}
|
||||
|
|
Loading…
Reference in a new issue