2017-04-12 10:07:44 +02:00
|
|
|
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
|
|
|
|
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
|
|
|
|
|
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
|
|
|
|
|
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
|
2018-07-29 16:26:51 +02:00
|
|
|
[[ -f ~/.zsh/.mac_config ]] && source ~/.zsh/.mac_config
|
|
|
|
|
|
|
|
|
|
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
|
2017-04-12 10:07:44 +02:00
|
|
|
# Load Antigen
|
2018-08-28 10:47:24 +02:00
|
|
|
setopt interactivecomments
|
2017-04-12 10:07:44 +02:00
|
|
|
source ~/.zsh/antigen/antigen.zsh
|
|
|
|
|
|
|
|
|
|
# Clear screen by ctrl+q
|
|
|
|
|
bindkey '^q' clear-screen
|
|
|
|
|
|
|
|
|
|
# Load various lib files
|
|
|
|
|
antigen use oh-my-zsh
|
|
|
|
|
|
|
|
|
|
# Antigen Theme
|
2018-07-29 16:26:51 +02:00
|
|
|
antigen theme bhilburn/powerlevel9k powerlevel9k
|
2017-04-12 10:07:44 +02:00
|
|
|
|
|
|
|
|
# Antigen Bundles
|
|
|
|
|
|
|
|
|
|
antigen bundle git
|
|
|
|
|
antigen bundle heroku
|
2019-02-28 13:36:24 +01:00
|
|
|
#antigen bundle command-not-found
|
2017-04-12 10:07:44 +02:00
|
|
|
antigen bundle go
|
|
|
|
|
|
|
|
|
|
# antigen bundle tmuxinator
|
|
|
|
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
2018-07-29 16:26:51 +02:00
|
|
|
antigen bundle zsh-users/zsh-autosuggestions
|
2019-08-22 15:27:20 +02:00
|
|
|
antigen bundle urbainvaes/fzf-marks
|
2017-04-12 10:07:44 +02:00
|
|
|
|
|
|
|
|
# For SSH, starting ssh-agent is annoying
|
|
|
|
|
antigen bundle ssh-agent
|
|
|
|
|
|
|
|
|
|
# Python Plugins
|
|
|
|
|
antigen bundle pip
|
|
|
|
|
antigen bundle python
|
|
|
|
|
antigen bundle virtualenv
|
|
|
|
|
|
2018-07-29 16:26:51 +02:00
|
|
|
antigen bundle virtualenv
|
|
|
|
|
|
2019-08-22 15:27:20 +02:00
|
|
|
antigen bundle "greymd/docker-zsh-completion"
|
|
|
|
|
|
2017-04-12 10:07:44 +02:00
|
|
|
antigen apply
|
2018-07-29 16:26:51 +02:00
|
|
|
alias vim=nvim
|
2019-08-22 15:27:20 +02:00
|
|
|
alias sudo='sudo '
|
2018-07-29 16:26:51 +02:00
|
|
|
export EDITOR='nvim'
|
2019-08-22 15:27:20 +02:00
|
|
|
alias ls="ls --color=always"
|
2020-10-14 11:05:01 +02:00
|
|
|
# For ccache
|
|
|
|
|
export CCACHE_CPP2=YES
|
|
|
|
|
|
|
|
|
|
delzip() {
|
|
|
|
|
unzip -Z -1 "$@" | xargs -I{} rm -rf {}
|
|
|
|
|
}
|
|
|
|
|
# mitmproxy
|
|
|
|
|
export MITMPROXY_SSLKEYLOGFILE="~/.mitmproxy/sslkeylogfile.txt"
|