commit e4819295bd923dbeb801b29801e404457e2bd315
parent 221213488d84989675442cb273d15a0fd013b51f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 16 Feb 2021 12:14:23 +0100
.profile: add ytdl alias
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.profile b/.profile
@@ -20,6 +20,7 @@ alias c=clear
alias r='fc -s'
alias rr='_c="$(tail -2 $HISTFILE | head -1)" && echo "$_c" && doas sh -ec "$_c"'
alias g=git
+alias ytdl='youtube-dl --write-sub --write-auto-sub --sub-lang="en,da" --embed-subs --add-metadata'
f() {
$EDITOR "$(find "${1:-.}" -type f | fzy -l 25)"