diff options
author | Josh Rahm <rahm@google.com> | 2023-01-30 10:55:19 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2023-01-30 10:55:19 -0700 |
commit | 19015cd04b697abdc3f522f4789e311812eeb2ac (patch) | |
tree | b503ac022c051aaa8c44287e0dd49ea4f33bd731 | |
parent | dc97c212fe68346e87de9a6726b9de7d177ac742 (diff) | |
download | zshrcd-19015cd04b697abdc3f522f4789e311812eeb2ac.tar.gz zshrcd-19015cd04b697abdc3f522f4789e311812eeb2ac.tar.bz2 zshrcd-19015cd04b697abdc3f522f4789e311812eeb2ac.zip |
Fix the file-contents-expansion to properly escape backslashes
-rw-r--r-- | 98-bindkeys.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |