diff --git a/.zshrc b/.zshrc index 84421e5..4a80543 100644 --- a/.zshrc +++ b/.zshrc @@ -1,3 +1,4 @@ +eval "$(/opt/homebrew/bin/brew shellenv)" # 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. @@ -6,6 +7,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] fi # If you come from bash you might have to change your $PATH. +PATH=$PATH:/usr/local/bin/bin/ # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. @@ -15,7 +17,7 @@ export ZSH="$HOME/.oh-my-zsh" # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME=""powerlevel10k/powerlevel10k"" +ZSH_THEME="powerlevel10k/powerlevel10k" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -77,8 +79,7 @@ ZSH_THEME=""powerlevel10k/powerlevel10k"" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git - zsh-syntax-highlighting) +plugins=(git) source $ZSH/oh-my-zsh.sh @@ -107,7 +108,41 @@ source $ZSH/oh-my-zsh.sh # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" -eval "$(/opt/homebrew/bin/brew shellenv)" + +# Text Highlighting + + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. + + +# ---------------------- +# Git Aliases +# ---------------------- +alias ga='git add' +alias gaa='git add -A' +alias gcm='git commit -m' +alias gd='git diff' +alias gpl='git pull' +alias gp='git push' +alias gs='git status' + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" + +# Text Highlighting + + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # ----------------------