mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
add missing shift to yt command
This commit is contained in:
parent
1835dff1e6
commit
9295b2a24a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue