mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
Major Update: created v4, new configs: alacritty, polybar, i3, and more.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Config created by Keyitdev https://www.github.com/keyitdev/dotfiles
|
||||
# Copyright (C) 2022 Keyitdev
|
||||
|
||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||
local user_symbol='%(!.#.$)'
|
||||
local current_dir="%B%{$fg[blue]%}%~ %{$reset_color%}"
|
||||
local date="[%D{%H:%M:%S}]"
|
||||
local vcs_branch='$(git_prompt_info)$(hg_prompt_info)'
|
||||
|
||||
ZSH_THEME_RVM_PROMPT_OPTIONS="i v g"
|
||||
|
||||
PROMPT="${current_dir}${rvm_ruby}${vcs_branch}${date}${venv_prompt}
|
||||
%B${user_symbol}%b "
|
||||
RPROMPT="%B${return_code}%b"
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}‹"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} |!|%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}"
|
||||
Reference in New Issue
Block a user