Skip to content

Commit

Permalink
Workaround instead of converting ~/.authinfo to ~/.netrc
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunggyuJang committed Apr 29, 2022
1 parent 0f54f66 commit f3bf928
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions darwin/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,6 @@ yabai -m rule --add app="^zoom$" space=4
}
'';
"youtube-dl/config".text = ''
# use authinfo
-n
# Save all vides under Youtube directory in cloud server
-o ~/storage/Youtube/%(title)s.%(ext)s
'';
Expand All @@ -3432,6 +3430,7 @@ yabai -m rule --add app="^zoom$" space=4
dbuild = "cd ${hgj_darwin_home} && HOSTNAME=${localconfig.hostname} TERM=xterm-256color make && cd -";
dswitch = "cd ${hgj_darwin_home} && HOSTNAME=${localconfig.hostname} TERM=xterm-256color make switch && cd -";
drb = "cd ${hgj_darwin_home} && HOSTNAME=${localconfig.hostname} TERM=xterm-256color make rollback && cd -";
yt-private = "xargs -I{} youtube-dl {} -u $(gpg --no-tty -qd ~/.authinfo.gpg | grep youtube | cut -d' ' -f4) -p $(gpg --no-tty -qd ~/.authinfo.gpg | grep youtube | cut -d' ' -f6)"
};

oh-my-zsh.enable = true;
Expand Down

0 comments on commit f3bf928

Please sign in to comment.