Created
September 22, 2022 17:02
-
-
Save akost/6bbfc965bb3c9504730e6901bd6a9aa3 to your computer and use it in GitHub Desktop.
Oh-my-zsh Theme
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
# akost zsh theme | |
function get_pwd() { | |
print -D $PWD | |
} | |
function precmd() { | |
print -rP ' | |
$fg_bold[green]%m$fg[white]:$(get_pwd)$reset_color $(git_prompt_info)' | |
} | |
PROMPT='$fg_bold[white]➜ $reset_color' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(git: " | |
ZSH_THEME_GIT_PROMPT_SUFFIX="$reset_color)" | |
ZSH_THEME_GIT_PROMPT_DIRTY="$fg_bold[red]+" | |
ZSH_THEME_GIT_PROMPT_CLEAN="$fg_bold[green]" | |
alias cls=clear | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment