diff --git a/share/cht.sh.txt b/share/cht.sh.txt index 2f662ac..569d975 100755 --- a/share/cht.sh.txt +++ b/share/cht.sh.txt @@ -559,7 +559,7 @@ cmd_cd() { } cmd_copy() { - if [ -z "$DISPLAY" ]; then + if [ -z "$DISPLAY" ] && [ "$is_macos" != yes ]; then echo copy: supported only in the Desktop version elif [ -z "$input" ]; then echo copy: Make at least one query first. @@ -579,7 +579,7 @@ cmd_copy() { } cmd_ccopy() { - if [ -z "$DISPLAY" ]; then + if [ -z "$DISPLAY" ] && [ "$is_macos" != yes ]; then echo copy: supported only in the Desktop version elif [ -z "$input" ]; then echo copy: Make at least one query first.