mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
Merging dritter/remote_icon_space_names
Optimizing VCS icon spacing for different configurations.
This commit is contained in:
parent
8358489470
commit
1f69d67c2a
1 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ case $POWERLEVEL9K_MODE in
|
||||||
VCS_BOOKMARK_ICON="\uE87B" #
|
VCS_BOOKMARK_ICON="\uE87B" #
|
||||||
VCS_COMMIT_ICON="\uE821 " #
|
VCS_COMMIT_ICON="\uE821 " #
|
||||||
VCS_BRANCH_ICON="\uE220" #
|
VCS_BRANCH_ICON="\uE220" #
|
||||||
VCS_REMOTE_BRANCH_ICON="\uE804" #
|
VCS_REMOTE_BRANCH_ICON=" \uE804 " #
|
||||||
VCS_GIT_ICON="\uE20E " #
|
VCS_GIT_ICON="\uE20E " #
|
||||||
VCS_HG_ICON="\uE1C3 " #
|
VCS_HG_ICON="\uE1C3 " #
|
||||||
;;
|
;;
|
||||||
|
@ -132,7 +132,7 @@ case $POWERLEVEL9K_MODE in
|
||||||
VCS_BOOKMARK_ICON="\uE87B" #
|
VCS_BOOKMARK_ICON="\uE87B" #
|
||||||
VCS_COMMIT_ICON="\uE821 " #
|
VCS_COMMIT_ICON="\uE821 " #
|
||||||
VCS_BRANCH_ICON="\uE220" #
|
VCS_BRANCH_ICON="\uE220" #
|
||||||
VCS_REMOTE_BRANCH_ICON="\uE804" #
|
VCS_REMOTE_BRANCH_ICON=" \uE804 " #
|
||||||
VCS_GIT_ICON="\uE20E " #
|
VCS_GIT_ICON="\uE20E " #
|
||||||
VCS_HG_ICON="\uE1C3 " #
|
VCS_HG_ICON="\uE1C3 " #
|
||||||
;;
|
;;
|
||||||
|
@ -482,7 +482,7 @@ prompt_longstatus() {
|
||||||
prompt_node_version() {
|
prompt_node_version() {
|
||||||
local nvm_prompt=$(node -v 2>/dev/null)
|
local nvm_prompt=$(node -v 2>/dev/null)
|
||||||
[[ -z "${nvm_prompt}" ]] && return
|
[[ -z "${nvm_prompt}" ]] && return
|
||||||
NODE_ICON=$'\u2B22 ' # ⬢
|
NODE_ICON=$'\u2B22' # ⬢
|
||||||
|
|
||||||
$1_prompt_segment "$0" "green" "white" "${nvm_prompt:1} $NODE_ICON"
|
$1_prompt_segment "$0" "green" "white" "${nvm_prompt:1} $NODE_ICON"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue