~jagtalon/dotfiles

8924e6e1a5fcfb3d6527e6b3f0b0a3f9e4ecbb39 — Jag Talon 6 months ago 6ce8d14
Micro editor only likes executables and not functions.
2 files changed, 8 insertions(+), 7 deletions(-)

D .config/fish/functions/xclip.fish
A .local/bin/xclip
D .config/fish/functions/xclip.fish => .config/fish/functions/xclip.fish +0 -7
@@ 1,7 0,0 @@
# Map xclip to clip.exe on Windows.

if uname -a | grep 'WSL'>/dev/null
	function xclip
		command clip.exe <&0
	end
end
\ No newline at end of file

A .local/bin/xclip => .local/bin/xclip +8 -0
@@ 0,0 1,8 @@
#!/usr/bin/fish
#!/usr/local/bin/fish

if uname -a | grep 'WSL'>/dev/null
	clip.exe <&0
else
    command xclip $argv
end