diff options
author | Botond Hende <nettingman@gmail.com> | 2024-04-14 06:38:49 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-04-14 06:38:49 +0200 |
commit | 0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 (patch) | |
tree | f91b7ada571a4dab7ae99c8f3ee252616baff2db /home/.selfconfigs/zsh/functions/yt |
squashed init
Diffstat (limited to 'home/.selfconfigs/zsh/functions/yt')
-rw-r--r-- | home/.selfconfigs/zsh/functions/yt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home/.selfconfigs/zsh/functions/yt b/home/.selfconfigs/zsh/functions/yt new file mode 100644 index 0000000..8d0ad2a --- /dev/null +++ b/home/.selfconfigs/zsh/functions/yt @@ -0,0 +1,8 @@ +function yt() +{ + if [ $# == 0 ]; then + echo usage: yt \[SEARCH TERM\] + else + mpv ytdl://ytsearch:"$*" + fi +} |