dotfiles/playbooks/roles/shell/templates/zshrc.j2
Matej Focko 66dab16bfd
Update shell setup
Signed-off-by: Matej Focko <me@mfocko.xyz>
2021-02-07 13:23:17 +01:00

38 lines
769 B
Django/Jinja

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)
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"
export GPG_TTY=$(tty)
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)"