dotfiles/.config/fish/functions/stealyt.fish
2023-11-25 01:34:13 -05:00

4 lines
227 B
Fish

function stealyt --wraps=yt-dlp\ \"\$\(xclip\ -o\ \|\ sed\ \'s/\\\&.\*\$//\'\)\" --description alias\ stealyt\ yt-dlp\ \"\$\(xclip\ -o\ \|\ sed\ \'s/\\\&.\*\$//\'\)\"
yt-dlp "$(xclip -o | sed 's/\&.*$//')" $argv
end