dotfiles/playbooks/roles/shell/templates/zshrc.j2

43 lines
876 B
Text
Raw Normal View History

export ZSH=/home/mfocko/.oh-my-zsh
CASE_SENSITIVE="true"
ENABLE_CORRECTION="true"
plugins=(git common-aliases history systemd sudo zsh-autosuggestions zsh-syntax-highlighting fzf)
export PATH="$PATH:$HOME/.local/bin"
source $ZSH/oh-my-zsh.sh
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10'
export EDITOR=nvim
export CC=gcc
export CFLAGS="-std=c11 -Wall -Werror"
export CXXFLAGS="-std=c++14 -Wall -Werror"
# export LDLIBS="-lm -lkarel -lcurses"
export LDLIBS="-lm"
export LANG="en_US.UTF-8"
### gpg ###
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
alias q="exit"
alias k="exit"
alias vim="nvim"
alias ts="tmux new -As default"
alias Reset="reset && tmux clear-history"
alias gcs="git commit -v -s"
function e() {
if [ $# -gt 0 ]; then
emacs $1 &
else
emacs . &
fi
}
eval "$(starship init zsh)"