mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-22 01:40:48 +03:00
Merge 7540ba5de7
into 4cebb8c066
This commit is contained in:
commit
adb358e53a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user