dotfiles/.zshrc

42 lines
686 B
Bash
Raw Normal View History

2021-01-20 09:38:34 +00:00
bindkey -e
export ZSH="$HOME/.oh-my-zsh"
2021-02-21 10:18:02 +00:00
plugins=(fzf)
2021-01-20 09:38:34 +00:00
source $ZSH/oh-my-zsh.sh
2020-12-31 11:55:44 +00:00
alias magit="emacs -nw --eval '(progn (magit-status) (delete-other-windows))'"
2021-01-20 09:38:34 +00:00
alias ytdlf="youtube-dl -a ./youtube-dl.txt -f best -o \"./%(playlist_title)s/%(playlist_index)s_%(title)s.%(ext)s\""
2020-12-31 11:55:44 +00:00
function webp2jpg {
for x in ls *.webp; do
ffmpeg -i "$x" "${x%.webp}.jpg";
done
rm *.webp
}
2021-01-12 09:50:43 +00:00
# GPG tty
export GPG_TTY=$(tty)
2020-12-31 18:16:28 +00:00
# Golang
export GOPATH=~/.gocode
# Path
export PATH=$PATH:$(go env GOPATH)/bin
2021-01-12 09:50:43 +00:00
export PATH=$PATH:$HOME/.local/bin
2020-12-31 18:16:28 +00:00
2021-01-19 15:45:41 +00:00
# Editor
export EDITOR=nvim
2021-02-02 14:47:56 +00:00
source /usr/share/zsh/share/antigen.zsh
2020-12-31 11:55:44 +00:00
2021-01-20 09:38:34 +00:00
antigen use oh-my-zsh
2021-01-03 18:12:53 +00:00
2020-12-31 11:55:44 +00:00
antigen bundle git
antigen theme steeef
antigen apply