diff options
author | Kutsan Kaplan <me@kutsankaplan.com> | 2018-01-15 23:00:19 +0300 |
---|---|---|
committer | Kutsan Kaplan <me@kutsankaplan.com> | 2018-01-15 23:00:19 +0300 |
commit | fce8810306317970ee10feeb0f688488b8923e54 (patch) | |
tree | 56de26f8892942a5d8cb0a8ab550efe2325899bb | |
parent | f6d89213a31810ccc94a534dd489e12f2ec059e9 (diff) | |
download | zsh-system-clipboard.zsh-fce8810306317970ee10feeb0f688488b8923e54.tar.xz zsh-system-clipboard.zsh-fce8810306317970ee10feeb0f688488b8923e54.zip |
Disable interpretation of backslash escapes
-rw-r--r-- | zsh-system-clipboard.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh-system-clipboard.zsh b/zsh-system-clipboard.zsh index 8954fe3..4de79be 100644 --- a/zsh-system-clipboard.zsh +++ b/zsh-system-clipboard.zsh @@ -63,12 +63,12 @@ function _zsh_system_clipboard_api() { } } - printf "$@" | eval "${CLIPBOARD[set]}" + echo -E "$@" | eval "${CLIPBOARD[set]}" } function sub_get() { local CLIPBOARD_CONTENT=$(eval "${CLIPBOARD[get]}") - printf "$CLIPBOARD_CONTENT" + echo -E "$CLIPBOARD_CONTENT" } local subcommand=${1:-''} |