Skip to content

Instantly share code, notes, and snippets.

@prakritidev
Created February 29, 2024 14:57
Show Gist options
  • Save prakritidev/4647c30947b1de2dc1e960da33acdec8 to your computer and use it in GitHub Desktop.
Save prakritidev/4647c30947b1de2dc1e960da33acdec8 to your computer and use it in GitHub Desktop.
My .zshrc
# 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
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/akash/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/akash/anaconda3/etc/profile.d/conda.sh" ]; then
. "/Users/akash/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/Users/akash/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
eval "$(/opt/homebrew/bin/brew shellenv)"
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"
alias l='ls'
alias ll='ls -lah'
source /opt/homebrew/share/powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
alias gt='echo "YOUR_GITHUB_TOKEN"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment