Created
January 2, 2019 16:05
-
-
Save glebmikulko/fcce11e0c5e0778fcafc7b784d87fe61 to your computer and use it in GitHub Desktop.
Zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh installation. | |
export ZSH=/home/gleb/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="bullet-train" | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
# plugins=(git github rails rails3 ruby rvm capistrano bundler heroku rake rvm python pip autoswitch-virtualenv autojump command-not-found gnu-utils history-substring-search zsh-syntax-highlighting) | |
plugins=(autoswitch-virtualenv) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
unsetopt share_history | |
fc -R ~/.zsh_history | |
if [ ! -z "$INIT_CMD" ]; then | |
OLD_IFS=$IFS | |
setopt shwordsplit | |
IFS=';' | |
for cmd in $INIT_CMD; do | |
echo "$cmd" | |
echo "$cmd" >> ~/.zsh_history | |
#print -S "$cmd" # add to history | |
eval $cmd | |
done | |
unset INIT_CMD | |
IFS=$OLD_IFS | |
fi | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
export GOPATH=$HOME/go | |
export PATH=${PATH}:${GOPATH}/bin | |
export ERL_AFLAGS="-kernel shell_history enabled" | |
export PATH=~/.local/bin:$PATH | |
export AIRFLOW_HOME=/home/gleb/projects/airflow-local | |
if [ /usr/bin/kubectl ]; then source <(kubectl completion zsh); fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment