Skip to content

Instantly share code, notes, and snippets.

@coci
Created August 18, 2021 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coci/f3912f7f03187adbb8829bdea8bb8c29 to your computer and use it in GitHub Desktop.
Save coci/f3912f7f03187adbb8829bdea8bb8c29 to your computer and use it in GitHub Desktop.
my zsh config
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
ZSH_THEME="robbyrussell"
plugins=(git)
source $ZSH/oh-my-zsh.sh
source ~/powerlevel10k/powerlevel10k.zsh-theme
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
export PATH="/usr/local/sbin:$PATH"
export ZSH="/Users/coci/.oh-my-zsh"
plugins=(
git
)
source $ZSH/oh-my-zsh.sh
# Example aliases
alias conf="nano ~/.zshrc"
alias ohmyzsh="open ~/.oh-my-zsh"
alias c="clear"
alias p="ipython3"
alias j="jupyter notebook"
alias uc="source ~/.zshrc"
#cronjob
alias cron="env EDITOR=nano crontab -e"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment