Created
August 18, 2021 06:06
-
-
Save coci/f3912f7f03187adbb8829bdea8bb8c29 to your computer and use it in GitHub Desktop.
my zsh config
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 | |
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