2011-02-27 16:28:22 -05:00
|
|
|
# Path to your oh-my-zsh configuration.
|
|
|
|
export ZSH=$HOME/.oh-my-zsh
|
|
|
|
|
|
|
|
# Set to the name theme to load.
|
|
|
|
# Look in ~/.oh-my-zsh/themes/
|
2020-10-27 23:39:53 -04:00
|
|
|
# export ZSH_THEME="walkah"
|
2011-02-27 16:28:22 -05:00
|
|
|
|
2012-05-07 16:21:28 -04:00
|
|
|
# My custom directory
|
|
|
|
export ZSH_CUSTOM=$HOME/.zsh/custom
|
|
|
|
|
2011-02-27 16:28:22 -05:00
|
|
|
# Set to this to use case-sensitive completion
|
|
|
|
# export CASE_SENSITIVE="true"
|
|
|
|
|
|
|
|
# Comment this out to disable weekly auto-update checks
|
|
|
|
# export DISABLE_AUTO_UPDATE="true"
|
|
|
|
|
|
|
|
# Uncomment following line if you want to disable colors in ls
|
|
|
|
# export DISABLE_LS_COLORS="true"
|
|
|
|
|
|
|
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
|
|
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
2020-11-17 17:34:43 -05:00
|
|
|
plugins=(asdf direnv aws gcloud extract command-not-found tmux git github ssh-agent docker docker-compose mix)
|
2011-02-27 16:28:22 -05:00
|
|
|
|
2017-03-29 11:14:26 -04:00
|
|
|
# ruby
|
2019-11-15 12:14:22 -05:00
|
|
|
if [ -x ruby ]; then
|
|
|
|
plugins=($plugins ruby gem rails bundler heroku)
|
|
|
|
fi
|
2017-03-29 11:14:26 -04:00
|
|
|
|
|
|
|
# node
|
2020-10-27 23:39:53 -04:00
|
|
|
plugins=($plugins npm yarn react-native)
|
2017-03-29 11:14:26 -04:00
|
|
|
|
|
|
|
# python
|
2019-11-07 17:05:08 -05:00
|
|
|
plugins=($plugins pip pipenv)
|
2017-03-29 11:14:26 -04:00
|
|
|
|
2014-04-01 22:01:29 -04:00
|
|
|
# Platform specific settings
|
2015-12-28 18:42:28 -05:00
|
|
|
case "$OSTYPE" in
|
2019-11-15 12:14:22 -05:00
|
|
|
darwin*)
|
|
|
|
plugins=($plugins osx)
|
|
|
|
;;
|
|
|
|
linux*)
|
|
|
|
plugins=($plugins debian)
|
2020-11-02 20:07:39 -05:00
|
|
|
export PATH=/snap/bin:$PATH
|
2019-11-15 12:14:22 -05:00
|
|
|
;;
|
2014-04-01 22:01:29 -04:00
|
|
|
esac
|
|
|
|
|
2012-05-07 16:21:28 -04:00
|
|
|
# OH MY ZSH!
|
2011-02-27 16:28:22 -05:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
2020-04-16 21:16:08 -04:00
|
|
|
# Android Studio
|
|
|
|
if [ -d ~/Library/Android/sdk ]; then
|
|
|
|
export ANDROID_SDK=~/Library/Android/sdk
|
|
|
|
export PATH=~/Library/Android/sdk/platform-tools:$PATH
|
|
|
|
fi
|
|
|
|
|
2020-07-29 22:21:01 -04:00
|
|
|
# zsh autosuggestions
|
2020-11-03 10:15:48 -05:00
|
|
|
if command -v brew &> /dev/null; then
|
2020-11-02 20:07:39 -05:00
|
|
|
zsh_autosuggestions=$(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
if [ -f $zsh_autosuggestions ]; then
|
|
|
|
source $zsh_autosuggestions
|
|
|
|
fi
|
2020-07-29 22:21:01 -04:00
|
|
|
fi
|
|
|
|
|
2013-07-25 20:16:08 -04:00
|
|
|
if [ $TERM = "screen" ]; then
|
|
|
|
export DISABLE_AUTO_TITLE="true"
|
2015-12-28 18:42:28 -05:00
|
|
|
fi
|
2013-07-25 19:19:59 -04:00
|
|
|
export EDITOR="vim"
|
2011-04-04 18:48:31 -04:00
|
|
|
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"
|
2020-10-27 23:39:53 -04:00
|
|
|
|
|
|
|
eval "$(starship init zsh)"
|