-
-
Save benjaminapetersen/fd4f8b8975b8d2bb26f1a0477ef392cd to your computer and use it in GitHub Desktop.
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
export PATH=$HOME/go/bin:$PATH | |
# On linux also add the path to brew and a place to put chromedriver... | |
if [[ "$OSTYPE" != "darwin"* ]]; then | |
export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin:$HOME/bin | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
fi | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
# Some nice auto-complete options | |
CASE_SENSITIVE="true" | |
HYPHEN_INSENSITIVE="true" | |
COMPLETION_WAITING_DOTS="true" | |
plugins=(command-not-found colorize history-substring-search kubectl themes zsh-autosuggestions fast-syntax-highlighting autoupdate colored-man-pages) | |
ZSH_COLORIZE_CHROMA_FORMATTER=terminal256 | |
source $ZSH/oh-my-zsh.sh | |
alias k=kubectl | |
alias g=git | |
alias gpr="git pull -r" | |
alias gst="git status" | |
alias ls="ls-go -San" | |
alias l=ls | |
alias ll="ls-go -Sanl" | |
alias lsl=ll | |
alias deploy='(){ (cd ~/workspace/pinniped && ./hack/prepare-for-integration-tests.sh $*) ;}' | |
alias ut="(cd ~/workspace/pinniped && ./hack/module.sh lint && ./hack/module.sh units)" | |
alias pc="(cd ~/workspace/pinniped && ~/workspace/pinniped-ci/hack/pinniped-pre-commit.sh)" | |
alias hi='fly -t piniped hijack -u' | |
export GIT_DUET_GLOBAL=true | |
export GIT_DUET_ROTATE_AUTHOR=1 | |
# Enable fantastic history search. | |
eval "$(fzf --zsh)" | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
source "$(brew --prefix)/share/zsh-history-substring-search/zsh-history-substring-search.zsh" | |
source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc" | |
source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment