Last active
August 23, 2022 23:45
-
-
Save eblocha/a8b2629b7d0af1aa7738436899a0170d to your computer and use it in GitHub Desktop.
Oh-My-ZSH themes and plugins
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
DIR_COLORS="$HOME/.dir_colors" | |
eval "`dircolors -b $DIR_COLORS`" |
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
unalias ls | |
unalias lsa | |
alias ls="ls --color=tty -F" | |
alias la="ls -Ah" | |
alias lla="ls -lAh" |
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
# My personal git aliases that I actually use | |
alias glol="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'" | |
alias glols="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --stat" | |
alias glola="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --all" | |
alias glog='git log --oneline --decorate --graph' | |
alias gloga='git log --oneline --decorate --graph --all' | |
alias gstat='git status' |
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
PROMPT='[%{$fg_bold[white]%}%n%{$reset_color%}@%{$FG[008]%}%m%{$reset_color%} %{$fg_bold[blue]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}]$ ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$FG[009]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$FG[009]%} %{$fg[yellow]%}✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment