use youtube-dl's own switches for y function
[~bandali/configs] / zsh / .zshrc.local
CommitLineData
686c6d84
AB
1# Base16 Shell
2BASE16_SCHEME="thewildhunt"
3BASE16_SHELL="$HOME/.theme/base16-$BASE16_SCHEME.dark.sh"
4[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
5
6PATH="$HOME/.local/bin:$PATH"
75cd1329 7PATH="`ruby -e 'print Gem.user_dir'`/bin:$PATH"
686c6d84 8
b6b6b06a
AB
9# take
10function take() {
11 mkdir -p $1
12 cd $1
13}
14
15function y() {
16 cd ~/music
23e6afcb 17 youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 $1
b6b6b06a 18}