Skip to content

Instantly share code, notes, and snippets.

@levpa
Last active July 4, 2024 14:41
Show Gist options
  • Save levpa/66395fc91a23d756effe735718ebaf42 to your computer and use it in GitHub Desktop.
Save levpa/66395fc91a23d756effe735718ebaf42 to your computer and use it in GitHub Desktop.
# Enable Powerlevel10k instant prompt.
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 ZSH="$HOME/.oh-my-zsh"
export PATH="/opt/homebrew/bin:$PATH"
export PAGER="less"
export LESS="-FXR"
export KUBECONFIG=$HOME/.kube/config
# ZSH_THEME="spaceship"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
git
aliases
brew
aws
azure
1password
ansible
autoenv
macos
zsh-autosuggestions
zsh-syntax-highlighting
kubectl
docker-compose
terraform
systemd
systemadmin
ripgrep
python
pyenv
podman
history
)
source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment