2020-10-11 15:09:15 +02:00
|
|
|
export ZSH=/home/mfocko/.oh-my-zsh
|
|
|
|
|
|
|
|
CASE_SENSITIVE="true"
|
|
|
|
ENABLE_CORRECTION="true"
|
2022-08-18 00:09:20 +02:00
|
|
|
plugins=(git common-aliases history systemd sudo zsh-autosuggestions zsh-syntax-highlighting fzf)
|
2020-10-11 15:09:15 +02:00
|
|
|
|
|
|
|
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"
|
2022-08-18 00:09:20 +02:00
|
|
|
|
|
|
|
### gpg ###
|
|
|
|
export GPG_TTY="$(tty)"
|
|
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
|
|
gpgconf --launch gpg-agent
|
2020-10-11 15:09:15 +02:00
|
|
|
|
|
|
|
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)"
|