From 19015cd04b697abdc3f522f4789e311812eeb2ac Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 30 Jan 2023 10:55:19 -0700 Subject: Fix the file-contents-expansion to properly escape backslashes --- 98-bindkeys.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/98-bindkeys.zsh b/98-bindkeys.zsh index a68502d..1dd2842 100644 --- a/98-bindkeys.zsh +++ b/98-bindkeys.zsh @@ -35,7 +35,7 @@ nvim-cmd-mode() { } quote-escape() { - sed "s/'/'\"'\"'/g" <<< "$1" + sed "s/'/'\"'\"'/g;s/\\\\/\\\\\\\\/g" <<< "$1" } expand-last-file() { -- cgit