2 ms·
I have this in my zshrc to save the trouble of pasting URLs manually: mpv() { if [ $# -eq 0 ]; then command mpv "$(xsel -b)" else env mpv
by majewsky 7y ago
I have this in my zshrc to save the trouble of pasting URLs manually:
mpv() {
if [ $# -eq 0 ]; then
command mpv "$(xsel -b)"
else
env mpv "$@"
fi
}