aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zsh-system-clipboard.zsh4
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:-''}