Created
October 6, 2018 20:46
-
-
Save jamesholcomb/5682d0b169cf33a6df452b86ee172d7a to your computer and use it in GitHub Desktop.
bash_profile
This file contains hidden or 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 PATH=$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:/usr/local/sbin:$PATH | |
export GOPATH=$HOME/go | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
export CLICOLOR=1 | |
alias k=kubectl | |
alias cat=bat | |
alias preview="fzf --preview 'bat --color \"always\" {}'" | |
# add support for ctrl+o to open selected file in VS Code | |
export FZF_DEFAULT_OPTS="--bind='ctrl-o:execute(code {})+abort'" | |
source ~/.bashrc | |
export PATH=/usr/local/opt/node@8/bin:"/usr/local/opt/imagemagick@6/bin:$HOME/.fastlane/bin:$PATH" | |
# updates PATH for the Google Cloud SDK. | |
if [ -f '/Users/jamesholcomb/google-cloud-sdk/path.bash.inc' ]; then source '/Users/jamesholcomb/google-cloud-sdk/path.bash.inc'; fi | |
# enables shell command completion for gcloud. | |
if [ -f '/Users/jamesholcomb/google-cloud-sdk/completion.bash.inc' ]; then source '/Users/jamesholcomb/google-cloud-sdk/completion.bash.inc'; fi | |
if [ -f /usr/local/share/bash-completion/bash_completion ]; then | |
. /usr/local/share/bash-completion/bash_completion | |
fi | |
# gitprompt | |
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then | |
__GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share | |
source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" | |
fi | |
source <(kubectl completion bash | sed 's/kubectl/k/g') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment