Created
August 19, 2021 20:00
-
-
Save vvksh/d77b405d2f3d6b6b42a328a4c9a244e3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# add this in the zshrc generated by oh-my-zsh | |
alias gs="git status" | |
alias gd="git diff" | |
#other aliases | |
# alias build_proj_a="bazel build //src/proj/a/..." | |
# use: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting to install zsh-syntax-highlighting plugin | |
plugins=(git zsh-syntax-highlighting) | |
source $ZSH/oh-my-zsh.sh # need to activate plugins | |
export ZSH_HIGHLIGHT_MAXLENGTH=60 #fixes the paste problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment