summaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc.local
blob: 5641d58795b9187dd1283c9ca96a292eac0ee168 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Base16 Shell
BASE16_SCHEME="thewildhunt"
BASE16_SHELL="$HOME/.theme/base16-$BASE16_SCHEME.dark.sh"
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL

PATH="$HOME/.local/bin:$PATH"

# take
function take() {
 mkdir -p $1
 cd $1
}

function y() {
 cd ~/music
 youtube-dl -f bestaudio $1
 for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 "${f%.m4a}.mp3"; rm "$f"; done
}