oops, copy target missing

This commit is contained in:
2020-01-28 15:36:46 +02:00
parent f34f476ea3
commit 6fc62b9e2a

View File

@@ -158,7 +158,7 @@ _read_menu() {
_read() {
[[ -e "$STORAGE/$NAME" ]] || {
[[ -e "$STORAGE/$NAME" || -L "$STORAGE/$NAME" ]] || {
_msg "No such clipboard: '$NAME'"
return
}
@@ -193,7 +193,7 @@ _read_files() { # name, file
mv "$STORAGE/$1" "$2"
else
echo Pasting "${1}$to"
cp -aT
cp -aT "$STORAGE/$1" "$2"
fi
}