diff options
author | Kutsan Kaplan <me@kutsankaplan.com> | 2017-10-25 16:47:03 +0300 |
---|---|---|
committer | Kutsan Kaplan <me@kutsankaplan.com> | 2017-10-25 16:47:03 +0300 |
commit | 1b38aaa1c183d6288b8fa8c2f99d19080027a81a (patch) | |
tree | 3cc3e08327cae825cad92711496a0f9af4f04d1f | |
parent | 09bed89e7d209b0265d1b96229b3999dc555973c (diff) | |
download | zsh-system-clipboard.zsh-1b38aaa1c183d6288b8fa8c2f99d19080027a81a.tar.xz zsh-system-clipboard.zsh-1b38aaa1c183d6288b8fa8c2f99d19080027a81a.zip |
Remove debugging statements
Diffstat (limited to '')
-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 ;; |