Created
July 9, 2022 13:37
-
-
Save kyee-rs/45759a6d3a50fd066d07975cd673e125 to your computer and use it in GitHub Desktop.
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
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" | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
plugins=(git docker zsh-syntax-highlighting sudo jsontools history emoji encode64 ) | |
# Oh-my-zsh load | |
source $ZSH/oh-my-zsh.sh | |
# P10K | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
# bun completions | |
[ -s "/home/loyd/.bun/_bun" ] && source "/home/loyd/.bun/_bun" | |
# Bun | |
export BUN_INSTALL="/home/loyd/.bun" | |
export PATH="$BUN_INSTALL/bin:$PATH" | |
# pnpm | |
export PNPM_HOME="/home/loyd/.local/share/pnpm" | |
export PATH="$PNPM_HOME:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment