projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a bunch of changes
[~bandali/configs]
/
zsh
/
.zshrc.local
diff --git
a/zsh/.zshrc.local
b/zsh/.zshrc.local
index
5641d58
..
11ce4cc
100644
(file)
--- a/
zsh/.zshrc.local
+++ b/
zsh/.zshrc.local
@@
-4,6
+4,8
@@
BASE16_SHELL="$HOME/.theme/base16-$BASE16_SCHEME.dark.sh"
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
PATH="$HOME/.local/bin:$PATH"
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
PATH="$HOME/.local/bin:$PATH"
+PATH="`ruby -e 'print Gem.user_dir'`/bin:$PATH"
+PATH="/opt/android-sdk/platform-tools:$PATH"
# take
function take() {
# take
function take() {
@@
-13,6
+15,8
@@
function take() {
function y() {
cd ~/music
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
+ youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 $1
}
}
+
+eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh) ; export GPG_AGENT_INFO SSH_AUTH_SOCK
+