2020-09-02 09:44:36 +01:00
|
|
|
# If you come from bash you might have to change your $PATH.
|
|
|
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
|
|
|
|
|
|
|
# Path to your oh-my-zsh installation.
|
|
|
|
export ZSH="/home/gsimmer/.oh-my-zsh"
|
|
|
|
|
2020-10-01 15:57:51 +01:00
|
|
|
# Not needed since we're using Starship.
|
|
|
|
# ZSH_THEME="frisk"
|
2020-09-02 09:44:36 +01:00
|
|
|
|
|
|
|
# Uncomment the following line to change how often to auto-update (in days).
|
|
|
|
# export UPDATE_ZSH_DAYS=13
|
|
|
|
|
|
|
|
# Uncomment the following line to enable command auto-correction.
|
|
|
|
# ENABLE_CORRECTION="true"
|
|
|
|
|
2021-02-18 13:03:26 +00:00
|
|
|
plugins=(git fzf zsh-autosuggestions)
|
2020-09-02 09:44:36 +01:00
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
# User configuration
|
|
|
|
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
|
|
|
|
|
|
|
|
source "$HOME/.cci-infra"
|
|
|
|
|
|
|
|
# The next line updates PATH for the Google Cloud SDK.
|
|
|
|
if [ -f '/usr/bin/google-cloud-sdk/path.zsh.inc' ]; then . '/usr/bin/google-cloud-sdk/path.zsh.inc'; fi
|
|
|
|
|
|
|
|
# The next line enables shell command completion for gcloud.
|
|
|
|
if [ -f '/usr/bin/google-cloud-sdk/completion.zsh.inc' ]; then . '/usr/bin/google-cloud-sdk/completion.zsh.inc'; fi
|
|
|
|
export PATH="$PATH:/home/gsimmer/flutter/bin:/home/gsimmer/scripts:/home/gsimmer/apps/goland/bin:/opt/android-sdk:/home/gsimmer/.local/bin"
|
|
|
|
export GOPATH="/home/gsimmer/Projects/go"
|
|
|
|
export DENO_INSTALL="/home/gsimmer/.deno"
|
2020-12-04 09:42:57 +00:00
|
|
|
export PATH="$DENO_INSTALL/bin:$GOPATH/bin:$PATH"
|
2020-09-02 09:44:36 +01:00
|
|
|
|
|
|
|
# sfdx autocomplete setup
|
|
|
|
SFDX_AC_ZSH_SETUP_PATH=/home/gsimmer/.cache/sfdx/autocomplete/zsh_setup && test -f $SFDX_AC_ZSH_SETUP_PATH && source $SFDX_AC_ZSH_SETUP_PATH;
|
2020-10-01 15:57:51 +01:00
|
|
|
|
|
|
|
# Starship init.
|
2020-11-09 14:40:54 +00:00
|
|
|
eval "$(starship init zsh)"
|
|
|
|
|
|
|
|
# aliases for various Rust-based utils.
|
|
|
|
if [ $(which exa) != 'exa not found' ]; then
|
|
|
|
alias ls=exa
|
|
|
|
fi
|
|
|
|
if [ $(which bat) != 'bat not found' ]; then
|
|
|
|
alias cat=bat
|
|
|
|
fi
|
|
|
|
if [ $(which rg) != 'rg not found' ]; then
|
|
|
|
alias grep=rg
|
2020-12-04 09:42:57 +00:00
|
|
|
fi
|