diff --git a/fish/config/config.fish b/fish/config/config.fish index cd3374a..5292d52 100644 --- a/fish/config/config.fish +++ b/fish/config/config.fish @@ -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