mirror of
https://github.com/notwa/rc
synced 2024-05-20 10:53:23 -07:00
add missing shift to yt command
This commit is contained in:
parent
1835dff1e6
commit
9295b2a24a
|
@ -80,6 +80,7 @@ twitch() {
|
|||
yt() {
|
||||
pushd ~/play >/dev/null
|
||||
local vid="$1"
|
||||
shift
|
||||
# can't be bothered to use substrings since they differ across bash/zsh
|
||||
if [[ "$(head -c4 <<< "$vid")" != "http" ]]; then
|
||||
vid="ytdl://$vid"
|
||||
|
|
Loading…
Reference in New Issue
Block a user