diff options
-rw-r--r-- | zsh-system-clipboard.zsh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zsh-system-clipboard.zsh b/zsh-system-clipboard.zsh index 117c011..b913448 100644 --- a/zsh-system-clipboard.zsh +++ b/zsh-system-clipboard.zsh @@ -67,7 +67,6 @@ function _zsh_system_clipboard_api() { } function sub_get() { - set -x local CLIPBOARD_CONTENT=$(eval "${CLIPBOARD[get]}") printf "$CLIPBOARD_CONTENT" } @@ -77,14 +76,14 @@ function _zsh_system_clipboard_api() { case "$subcommand" { set) shift - sub_${subcommand} "$*" + sub_${subcommand} "$*" || return false return true ;; get) shift - sub_${subcommand} + sub_${subcommand} || return false return true ;; |