commit fb4870d187883caf44f76f3a8f86418c09204068 parent 6aeb69840180bb7c623329e5f43709ca1693ba61 Author: pyratebeard <root@pyratebeard.net> Date: Fri, 28 Jul 2017 02:07:26 +0100 mpv yt search function Diffstat:
A | zsh/.zsh/functions/mm | | | 2 | ++ |
M | zsh/.zsh/prompt.zsh | | | 1 | + |
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/zsh/.zsh/functions/mm b/zsh/.zsh/functions/mm @@ -0,0 +1,2 @@ +emulate -L zsh +mpv --audio-device=pulse/1 ytdl://ytsearch10:"$@" diff --git a/zsh/.zsh/prompt.zsh b/zsh/.zsh/prompt.zsh @@ -26,6 +26,7 @@ typeset -ga chpwd_functions #█▓▒░ prepend functions chpwd_functions+=('chpwd_auto_cd') +mpv_functions+=('mm') #█▓▒░ colors for permissions if [[ "$EUID" -ne "0" ]]