[misc] read from clipboard
This commit is contained in:
parent
437913559e
commit
11dfb24f6d
|
@ -6,7 +6,7 @@ function dt
|
|||
end
|
||||
|
||||
function clean-taobao-link
|
||||
echo "$argv" | sed 's/^\(.*\)?\(.*&\)\?\(id=[^&]\+\).*$/\1?\3/g' | xsel -sb
|
||||
xsel -ob | sed 's/^\(.*\)?\(.*&\)\?\(id=[^&]\+\).*$/\1?\3/g' | xsel -b
|
||||
end
|
||||
|
||||
# for WSL
|
||||
|
|
Loading…
Reference in New Issue
Block a user