Last active
June 26, 2020 21:56
-
-
Save thnery/6738d5fc6ad8b8fed0ff0c5d02380cf5 to your computer and use it in GitHub Desktop.
basic 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
export ZSH="/Users/latacio.nery/.oh-my-zsh" | |
# ZSH_THEME="robbyrussell" | |
ZSH_THEME="lambda-gitster" | |
# ZSH_THEME="spaceship" | |
plugins=(git python ruby brew pip django bundler) | |
source $ZSH/oh-my-zsh.sh | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
# tabtab source for serverless package | |
# uninstall by removing these lines or running `tabtab uninstall serverless` | |
[[ -f /Users/latacio.nery/Workspace/Ruby/Sweetgreen/collections/node_modules/tabtab/.completions/serverless.zsh ]] && . /Users/latacio.nery/Workspace/Ruby/Sweetgreen/collections/node_modules/tabtab/.completions/serverless.zsh | |
# tabtab source for sls package | |
# uninstall by removing these lines or running `tabtab uninstall sls` | |
[[ -f /Users/latacio.nery/Workspace/Ruby/Sweetgreen/collections/node_modules/tabtab/.completions/sls.zsh ]] && . /Users/latacio.nery/Workspace/Ruby/Sweetgreen/collections/node_modules/tabtab/.completions/sls.zsh | |
# tabtab source for slss package | |
# uninstall by removing these lines or running `tabtab uninstall slss` | |
[[ -f /Users/latacio.nery/Workspace/Ruby/Sweetgreen/collections/node_modules/tabtab/.completions/slss.zsh ]] && . /Users/latacio.nery/Workspace/Ruby/Sweetgreen/collections/node_modules/tabtab/.completions/slss.zsh | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | |
export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border' | |
# SPACESHIP_PROMPT_ORDER=( | |
# dir # Current directory section | |
# git # Git section (git_branch + git_status) | |
# vi_mode # Vi-mode indicator | |
# jobs # Background jobs indicator | |
# exit_code # Exit code section | |
# char # Prompt character | |
# ) | |
# SPACESHIP_USER_SHOW=false | |
# SPACESHIP_PROMPT_ADD_NEWLINE=false | |
# SPACESHIP_CHAR_SYMBOL="❯" | |
# SPACESHIP_CHAR_SUFFIX=" " | |
# SPACESHIP_DIR_TRUNC=1 | |
export AWS_PROFILE=default | |
# SG's Set and Unset Local Gravy | |
alias setlocalgravy="bundle config disable_local_branch_check true && bundle config local.gravy ../gravy && bundle update --source gravy && bundle exec rake gravy:install:migrations && bundle exec rake db:migrate" | |
alias unsetlocalgravy="bundle config disable_local_branch_check false && bundle config --delete local.gravy && bundle update --source gravy && bundle exec rake gravy:install:migrations && bundle exec rake db:migrate" |
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
install spaceship theme | |
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" | |
dracula theme | |
https://draculatheme.com/terminal/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment