Skip to content

Instantly share code, notes, and snippets.

@wizo06
Last active April 25, 2022 09:02
Show Gist options
  • Save wizo06/3dce572a8ba5ff7ddbf120829f541b7c to your computer and use it in GitHub Desktop.
Save wizo06/3dce572a8ba5ff7ddbf120829f541b7c to your computer and use it in GitHub Desktop.
local user='%B%F{008}%n%f%b'
local machine='%B%F{008}%m%f%b'
local current_dir='%B%F{008}%~%f%b'
local git_info='%B$(git_prompt_info)%b'
PROMPT="${current_dir}${git_info}
$ "
ZSH_THEME_GIT_PROMPT_PREFIX="@%F{008}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%f"
ZSH_THEME_GIT_PROMPT_DIRTY="%F{001}✘%f"
ZSH_THEME_GIT_PROMPT_CLEAN=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment