oops, copy target missing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user