dotfiles/.zshrc

42 lines
686 B
Bash

bindkey -e
export ZSH="$HOME/.oh-my-zsh"
plugins=(fzf)
source $ZSH/oh-my-zsh.sh
alias magit="emacs -nw --eval '(progn (magit-status) (delete-other-windows))'"
alias ytdlf="youtube-dl -a ./youtube-dl.txt -f best -o \"./%(playlist_title)s/%(playlist_index)s_%(title)s.%(ext)s\""
function webp2jpg {
for x in ls *.webp; do
ffmpeg -i "$x" "${x%.webp}.jpg";
done
rm *.webp
}
# GPG tty
export GPG_TTY=$(tty)
# Golang
export GOPATH=~/.gocode
# Path
export PATH=$PATH:$(go env GOPATH)/bin
export PATH=$PATH:$HOME/.local/bin
# Editor
export EDITOR=nvim
source /usr/share/zsh/share/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen theme steeef
antigen apply