-
-
Save romkatv/5ab160354e69f201a23a33665e674f78 to your computer and use it in GitHub Desktop.
prompt_vcs trace in a git repo
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
+prompt_vcs:2> VCS_WORKDIR_DIRTY=false | |
+prompt_vcs:3> VCS_WORKDIR_HALF_DIRTY=false | |
+prompt_vcs:4> local current_state='' | |
+prompt_vcs:7> vcs_info | |
+vcs_info:11> setopt localoptions noksharrays extendedglob NO_shwordsplit | |
+vcs_info:12> local file func sys | |
+vcs_info:13> local -a static_functions msgs | |
+vcs_info:14> local -i maxexports | |
+vcs_info:16> static_functions=( VCS_INFO_adjust VCS_INFO_bydir_detect VCS_INFO_check_com VCS_INFO_formats VCS_INFO_get_cmd VCS_INFO_hexdump VCS_INFO_hook VCS_INFO_set-patch-format VCS_INFO_maxexports VCS_INFO_nvcsformats VCS_INFO_patch2subject VCS_INFO_quilt VCS_INFO_realpath VCS_INFO_reposub VCS_INFO_set vcs_info_hookadd vcs_info_hookdel vcs_info_lastmsg vcs_info_printsys vcs_info_setsys ) | |
+vcs_info:40> func=VCS_INFO_adjust | |
+vcs_info:41> autoload -Uz VCS_INFO_adjust | |
+vcs_info:40> func=VCS_INFO_bydir_detect | |
+vcs_info:41> autoload -Uz VCS_INFO_bydir_detect | |
+vcs_info:40> func=VCS_INFO_check_com | |
+vcs_info:41> autoload -Uz VCS_INFO_check_com | |
+vcs_info:40> func=VCS_INFO_formats | |
+vcs_info:41> autoload -Uz VCS_INFO_formats | |
+vcs_info:40> func=VCS_INFO_get_cmd | |
+vcs_info:41> autoload -Uz VCS_INFO_get_cmd | |
+vcs_info:40> func=VCS_INFO_hexdump | |
+vcs_info:41> autoload -Uz VCS_INFO_hexdump | |
+vcs_info:40> func=VCS_INFO_hook | |
+vcs_info:41> autoload -Uz VCS_INFO_hook | |
+vcs_info:40> func=VCS_INFO_set-patch-format | |
+vcs_info:41> autoload -Uz VCS_INFO_set-patch-format | |
+vcs_info:40> func=VCS_INFO_maxexports | |
+vcs_info:41> autoload -Uz VCS_INFO_maxexports | |
+vcs_info:40> func=VCS_INFO_nvcsformats | |
+vcs_info:41> autoload -Uz VCS_INFO_nvcsformats | |
+vcs_info:40> func=VCS_INFO_patch2subject | |
+vcs_info:41> autoload -Uz VCS_INFO_patch2subject | |
+vcs_info:40> func=VCS_INFO_quilt | |
+vcs_info:41> autoload -Uz VCS_INFO_quilt | |
+vcs_info:40> func=VCS_INFO_realpath | |
+vcs_info:41> autoload -Uz VCS_INFO_realpath | |
+vcs_info:40> func=VCS_INFO_reposub | |
+vcs_info:41> autoload -Uz VCS_INFO_reposub | |
+vcs_info:40> func=VCS_INFO_set | |
+vcs_info:41> autoload -Uz VCS_INFO_set | |
+vcs_info:40> func=vcs_info_hookadd | |
+vcs_info:41> autoload -Uz vcs_info_hookadd | |
+vcs_info:40> func=vcs_info_hookdel | |
+vcs_info:41> autoload -Uz vcs_info_hookdel | |
+vcs_info:40> func=vcs_info_lastmsg | |
+vcs_info:41> autoload -Uz vcs_info_lastmsg | |
+vcs_info:40> func=vcs_info_printsys | |
+vcs_info:41> autoload -Uz vcs_info_printsys | |
+vcs_info:40> func=vcs_info_setsys | |
+vcs_info:41> autoload -Uz vcs_info_setsys | |
+vcs_info:44> [[ -n '' ]] | |
+vcs_info:45> VCS_INFO_maxexports | |
+VCS_INFO_maxexports:5> setopt localoptions NO_shwordsplit unset | |
+VCS_INFO_maxexports:7> zstyle -s :vcs_info::: max-exports maxexports | |
+VCS_INFO_maxexports:7> maxexports=2 | |
+VCS_INFO_maxexports:8> [[ 2 != <-> ]] | |
+VCS_INFO_maxexports:8> (( maxexports < 1 )) | |
+VCS_INFO_maxexports:13> return 0 | |
+vcs_info:46> VCS_INFO_set --nvcs -preinit- | |
+VCS_INFO_set:5> setopt localoptions noksharrays NO_shwordsplit unset | |
+VCS_INFO_set:6> local -i i j | |
+VCS_INFO_set:8> [[ --nvcs == --nvcs ]] | |
+VCS_INFO_set:9> [[ -preinit- == -preinit- ]] | |
+VCS_INFO_set:9> (( maxexports == 0 )) | |
+VCS_INFO_set:10> i=0 | |
+VCS_INFO_set:11> typeset -g 'vcs_info_msg_0_=' | |
+VCS_INFO_set:10> i=1 | |
+VCS_INFO_set:11> typeset -g 'vcs_info_msg_1_=' | |
+VCS_INFO_set:13> VCS_INFO_nvcsformats -preinit- | |
+VCS_INFO_nvcsformats:5> setopt localoptions noksharrays NO_shwordsplit | |
+VCS_INFO_nvcsformats:6> local c v rr | |
+VCS_INFO_nvcsformats:8> [[ -preinit- == -preinit- ]] | |
+VCS_INFO_nvcsformats:9> c=default | |
+VCS_INFO_nvcsformats:10> v=-preinit- | |
+VCS_INFO_nvcsformats:11> rr=-all- | |
+VCS_INFO_nvcsformats:13> zstyle -a :vcs_info:-preinit-:default:-all- nvcsformats msgs | |
+VCS_INFO_nvcsformats:14> (( 0 > maxexports )) | |
+VCS_INFO_nvcsformats:15> return 0 | |
+VCS_INFO_set:14> [[ -preinit- != -preinit- ]] | |
+VCS_INFO_set:17> (( 0 - 1 < 0 )) | |
+VCS_INFO_set:17> return 0 | |
+vcs_info:47> vcs_info_setsys | |
+vcs_info_setsys:5> emulate -L zsh | |
+vcs_info_setsys:6> setopt extendedglob typeset_silent | |
+vcs_info_setsys:8> local sys | |
+vcs_info_setsys:9> typeset -ga VCS_INFO_backends | |
+vcs_info_setsys:10> local -a match mbegin mend | |
+vcs_info_setsys:12> VCS_INFO_backends=( ) | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_bzr | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_bzr | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=bzr | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( bzr ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_bzr | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_bzr | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_cdv | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_cdv | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=cdv | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( cdv ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_cdv | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_cdv | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_cvs | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_cvs | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=cvs | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( cvs ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_cvs | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_cvs | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_darcs | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_darcs | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=darcs | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( darcs ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_darcs | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_darcs | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_fossil | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_fossil | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=fossil | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( fossil ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_fossil | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_fossil | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_git | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_git | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=git | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( git ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_git | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_git | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_hg | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_hg | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=hg | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( hg ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_hg | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_hg | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_mtn | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_mtn | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=mtn | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( mtn ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_mtn | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_mtn | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_p4 | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_p4 | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=p4 | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( p4 ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_p4 | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_p4 | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_svk | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_svk | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=svk | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( svk ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_svk | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_svk | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_svn | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_svn | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=svn | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( svn ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_svn | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_svn | |
+vcs_info_setsys:14> file=/usr/share/zsh/functions/VCS_Info/Backends/VCS_INFO_get_data_tla | |
+vcs_info_setsys:15> file=VCS_INFO_get_data_tla | |
+vcs_info_setsys:16> : | |
+vcs_info_setsys:17> sys=tla | |
+vcs_info_setsys:19> [[ -n '' ]] | |
+vcs_info_setsys:20> VCS_INFO_backends+=( tla ) | |
+vcs_info_setsys:21> autoload -Uz VCS_INFO_detect_tla | |
+vcs_info_setsys:22> autoload -Uz VCS_INFO_get_data_tla | |
+vcs_info_setsys:25> return 0 | |
+vcs_info:148> vcs_info | |
+vcs_info:1> emulate -L zsh | |
+vcs_info:2> setopt extendedglob NO_warn_create_global | |
+vcs_info:4> [[ -r . ]] | |
+vcs_info:6> local pat | |
+vcs_info:7> local -i found retval | |
+vcs_info:8> local -a enabled disabled dps | |
+vcs_info:9> local usercontext vcs rrn quiltmode | |
+vcs_info:10> local -x LC_MESSAGES | |
+vcs_info:11> local -i maxexports | |
+vcs_info:12> local -a msgs | |
+vcs_info:13> local -A vcs_comm hook_com backend_misc user_data | |
+vcs_info:15> LC_MESSAGES=C | |
+vcs_info:16> [[ -n '' ]] | |
+vcs_info:21> vcs=-init- | |
+vcs_info:21> rrn=-all- | |
+vcs_info:21> quiltmode=addon | |
+vcs_info:22> usercontext=default | |
+vcs_info:24> VCS_INFO_hook start-up | |
+VCS_INFO_hook:5> local hook static func | |
+VCS_INFO_hook:6> local context hook_name | |
+VCS_INFO_hook:7> local -i ret | |
+VCS_INFO_hook:8> local -a hooks tmp | |
+VCS_INFO_hook:9> local -i debug | |
+VCS_INFO_hook:11> ret=0 | |
+VCS_INFO_hook:12> hook_name=start-up | |
+VCS_INFO_hook:13> shift | |
+VCS_INFO_hook:14> context=:vcs_info:-init-+start-up:default:-all- | |
+VCS_INFO_hook:15> static=:vcs_info-static_hooks:start-up | |
+VCS_INFO_hook:17> zstyle -t :vcs_info:-init-+start-up:default:-all- debug | |
+VCS_INFO_hook:17> debug=0 | |
+VCS_INFO_hook:18> (( debug )) | |
+VCS_INFO_hook:24> zstyle -a :vcs_info-static_hooks:start-up hooks hooks | |
+VCS_INFO_hook:25> (( debug )) | |
+VCS_INFO_hook:28> zstyle -a :vcs_info:-init-+start-up:default:-all- hooks tmp | |
+VCS_INFO_hook:29> (( debug )) | |
+VCS_INFO_hook:32> hooks+=( ) | |
+VCS_INFO_hook:33> (( 0 == 0 )) | |
+VCS_INFO_hook:33> return 0 | |
+vcs_info:25> retval=0 | |
+vcs_info:26> (( retval == 1 )) | |
+vcs_info:28> (( retval == 2 )) | |
+vcs_info:36> zstyle -a :vcs_info:-init-:default:-all- enable enabled | |
+vcs_info:37> (( 3 == 0 )) | |
+vcs_info:39> [[ -n '' ]] | |
+vcs_info:44> [[ -n '' ]] | |
+vcs_info:49> zstyle -a :vcs_info:-init-:default:-all- disable-patterns dps | |
+vcs_info:59> VCS_INFO_maxexports | |
+VCS_INFO_maxexports:5> setopt localoptions NO_shwordsplit unset | |
+VCS_INFO_maxexports:7> zstyle -s :vcs_info:-init-:default:-all- max-exports maxexports | |
+VCS_INFO_maxexports:7> maxexports=2 | |
+VCS_INFO_maxexports:8> [[ 2 != <-> ]] | |
+VCS_INFO_maxexports:8> (( maxexports < 1 )) | |
+VCS_INFO_maxexports:13> return 0 | |
+vcs_info:61> (( found = 0 )) | |
+vcs_info:62> vcs=git | |
+vcs_info:63> [[ -n '' ]] | |
+vcs_info:64> (( 1 == 0 )) | |
+vcs_info:69> vcs_comm=( ) | |
+vcs_info:70> VCS_INFO_get_cmd | |
+VCS_INFO_get_cmd:4> local cmd | |
+VCS_INFO_get_cmd:5> zstyle -s :vcs_info:git:default:-all- command cmd | |
+VCS_INFO_get_cmd:6> vcs_comm[cmd]=git | |
+vcs_info:71> VCS_INFO_detect_git | |
+VCS_INFO_detect_git:5> setopt localoptions NO_shwordsplit | |
+VCS_INFO_detect_git:7> [[ '' == --flavours ]] | |
+VCS_INFO_detect_git:9> VCS_INFO_check_com git | |
+VCS_INFO_check_com:5> setopt localoptions NO_shwordsplit | |
+VCS_INFO_check_com:7> case git (/*) | |
+VCS_INFO_check_com:7> case git (*) | |
+VCS_INFO_check_com:12> (( 1 )) | |
+VCS_INFO_check_com:12> return 0 | |
+VCS_INFO_detect_git:9> git rev-parse --is-inside-work-tree | |
+VCS_INFO_detect_git:10> vcs_comm[gitdir]=+VCS_INFO_detect_git:10> git rev-parse --git-dir | |
+VCS_INFO_detect_git:10> vcs_comm[gitdir]=.git | |
+VCS_INFO_detect_git:11> [[ -d .git/svn ]] | |
+VCS_INFO_detect_git:12> [[ -d .git/refs/remotes/p4 ]] | |
+VCS_INFO_detect_git:13> return 0 | |
+vcs_info:71> (( found = 1 )) | |
+vcs_info:71> break | |
+vcs_info:74> (( found == 0 )) | |
+vcs_info:80> VCS_INFO_hook pre-get-data | |
+VCS_INFO_hook:5> local hook static func | |
+VCS_INFO_hook:6> local context hook_name | |
+VCS_INFO_hook:7> local -i ret | |
+VCS_INFO_hook:8> local -a hooks tmp | |
+VCS_INFO_hook:9> local -i debug | |
+VCS_INFO_hook:11> ret=0 | |
+VCS_INFO_hook:12> hook_name=pre-get-data | |
+VCS_INFO_hook:13> shift | |
+VCS_INFO_hook:14> context=:vcs_info:git+pre-get-data:default:-all- | |
+VCS_INFO_hook:15> static=:vcs_info-static_hooks:pre-get-data | |
+VCS_INFO_hook:17> zstyle -t :vcs_info:git+pre-get-data:default:-all- debug | |
+VCS_INFO_hook:17> debug=0 | |
+VCS_INFO_hook:18> (( debug )) | |
+VCS_INFO_hook:24> zstyle -a :vcs_info-static_hooks:pre-get-data hooks hooks | |
+VCS_INFO_hook:25> (( debug )) | |
+VCS_INFO_hook:28> zstyle -a :vcs_info:git+pre-get-data:default:-all- hooks tmp | |
+VCS_INFO_hook:29> (( debug )) | |
+VCS_INFO_hook:32> hooks+=( ) | |
+VCS_INFO_hook:33> (( 0 == 0 )) | |
+VCS_INFO_hook:33> return 0 | |
+vcs_info:81> retval=0 | |
+vcs_info:82> (( retval == 1 )) | |
+vcs_info:84> (( retval == 2 )) | |
+vcs_info:89> VCS_INFO_get_data_git | |
+VCS_INFO_get_data_git:5> setopt localoptions extendedglob NO_shwordsplit | |
+VCS_INFO_get_data_git:6> local gitdir gitbase gitbranch gitaction gitunstaged gitstaged gitsha1 gitmisc | |
+VCS_INFO_get_data_git:7> local -i querystaged queryunstaged | |
+VCS_INFO_get_data_git:8> local -a git_patches_applied git_patches_unapplied | |
+VCS_INFO_get_data_git:9> local -A hook_com | |
+VCS_INFO_get_data_git:134> gitdir=.git | |
+VCS_INFO_get_data_git:135> VCS_INFO_git_getbranch .git | |
+VCS_INFO_git_getbranch:1> local gitdir=.git tmp actiondir | |
+VCS_INFO_git_getbranch:2> local gitsymref='git symbolic-ref HEAD' | |
+VCS_INFO_git_getbranch:4> actiondir='' | |
+VCS_INFO_git_getbranch:5> tmp=.git/rebase-apply | |
+VCS_INFO_git_getbranch:8> [[ -d .git/rebase-apply ]] | |
+VCS_INFO_git_getbranch:5> tmp=.git/rebase | |
+VCS_INFO_git_getbranch:8> [[ -d .git/rebase ]] | |
+VCS_INFO_git_getbranch:5> tmp=.git/../.dotest | |
+VCS_INFO_git_getbranch:8> [[ -d .git/../.dotest ]] | |
+VCS_INFO_git_getbranch:13> [[ -n '' ]] | |
+VCS_INFO_git_getbranch:20> [[ -f .git/MERGE_HEAD ]] | |
+VCS_INFO_git_getbranch:24> [[ -d .git/rebase-merge ]] | |
+VCS_INFO_git_getbranch:31> [[ -d .git/.dotest-merge ]] | |
+VCS_INFO_git_getbranch:35> gitbranch=+VCS_INFO_git_getbranch:35> git symbolic-ref HEAD | |
+VCS_INFO_git_getbranch:35> gitbranch=refs/heads/master | |
+VCS_INFO_git_getbranch:37> [[ 0 -ne 0 ]] | |
+VCS_INFO_git_getbranch:46> return 0 | |
+VCS_INFO_get_data_git:136> gitbase=+VCS_INFO_get_data_git:136> git rev-parse --show-toplevel | |
+VCS_INFO_get_data_git:136> gitbase=/home/romka/testrepo | |
+VCS_INFO_get_data_git:137> rrn=testrepo | |
+VCS_INFO_get_data_git:138> zstyle -t :vcs_info:git:default:testrepo get-revision | |
+VCS_INFO_get_data_git:141> gitsha1='' | |
+VCS_INFO_get_data_git:143> gitbranch=master | |
+VCS_INFO_get_data_git:145> [[ -z .git ]] | |
+VCS_INFO_get_data_git:145> [[ -z master ]] | |
+VCS_INFO_get_data_git:149> zstyle -t :vcs_info:git:default:testrepo check-for-changes | |
+VCS_INFO_get_data_git:150> querystaged=1 | |
+VCS_INFO_get_data_git:151> queryunstaged=1 | |
+VCS_INFO_get_data_git:155> (( querystaged || queryunstaged )) | |
+VCS_INFO_get_data_git:156> [[+VCS_INFO_get_data_git:156> git rev-parse --is-inside-work-tree | |
+VCS_INFO_get_data_git:156> [[ true == true ]] | |
+VCS_INFO_get_data_git:158> (( queryunstaged )) | |
+VCS_INFO_get_data_git:159> git diff --no-ext-diff '--ignore-submodules=dirty' --quiet --exit-code | |
+VCS_INFO_get_data_git:160> gitunstaged=1 | |
+VCS_INFO_get_data_git:162> (( querystaged )) | |
+VCS_INFO_get_data_git:163> git rev-parse --quiet --verify HEAD | |
+VCS_INFO_get_data_git:164> git diff-index --cached --quiet '--ignore-submodules=dirty' HEAD | |
+VCS_INFO_get_data_git:165> (( 1 && 1 != 128 )) | |
+VCS_INFO_get_data_git:165> gitstaged=1 | |
+VCS_INFO_get_data_git:175> VCS_INFO_adjust | |
+VCS_INFO_adjust:5> setopt localoptions NO_shwordsplit | |
+VCS_INFO_adjust:7> [[ -n '' ]] | |
+VCS_INFO_adjust:8> return 0 | |
+VCS_INFO_get_data_git:176> VCS_INFO_git_getaction .git | |
+VCS_INFO_git_getaction:1> local gitdir=.git | |
+VCS_INFO_git_getaction:2> local tmp | |
+VCS_INFO_git_getaction:4> tmp=.git/rebase-apply | |
+VCS_INFO_git_getaction:7> [[ -d .git/rebase-apply ]] | |
+VCS_INFO_git_getaction:4> tmp=.git/rebase | |
+VCS_INFO_git_getaction:7> [[ -d .git/rebase ]] | |
+VCS_INFO_git_getaction:4> tmp=.git/../.dotest | |
+VCS_INFO_git_getaction:7> [[ -d .git/../.dotest ]] | |
+VCS_INFO_git_getaction:19> tmp=.git/rebase-merge/interactive | |
+VCS_INFO_git_getaction:21> [[ -f .git/rebase-merge/interactive ]] | |
+VCS_INFO_git_getaction:19> tmp=.git/.dotest-merge/interactive | |
+VCS_INFO_git_getaction:21> [[ -f .git/.dotest-merge/interactive ]] | |
+VCS_INFO_git_getaction:27> tmp=.git/rebase-merge | |
+VCS_INFO_git_getaction:29> [[ -d .git/rebase-merge ]] | |
+VCS_INFO_git_getaction:27> tmp=.git/.dotest-merge | |
+VCS_INFO_git_getaction:29> [[ -d .git/.dotest-merge ]] | |
+VCS_INFO_git_getaction:35> [[ -f .git/MERGE_HEAD ]] | |
+VCS_INFO_git_getaction:40> [[ -f .git/BISECT_LOG ]] | |
+VCS_INFO_git_getaction:45> [[ -f .git/CHERRY_PICK_HEAD ]] | |
+VCS_INFO_git_getaction:54> [[ -d .git/sequencer ]] | |
+VCS_INFO_git_getaction:59> return 1 | |
+VCS_INFO_get_data_git:178> local patchdir=.git/patches/master | |
+VCS_INFO_get_data_git:179> [[ -d .git/patches/master ]] | |
+VCS_INFO_get_data_git:186> [[ -d .git/rebase-merge ]] | |
+VCS_INFO_get_data_git:202> [[ -d .git/rebase-apply ]] | |
+VCS_INFO_get_data_git:244> [[ -f .git/MERGE_HEAD ]] | |
+VCS_INFO_get_data_git:262> [[ -f .git/CHERRY_PICK_HEAD ]] | |
+VCS_INFO_get_data_git:286> gitmisc='' | |
+VCS_INFO_get_data_git:289> backend_misc[patches]='' | |
+VCS_INFO_get_data_git:290> VCS_INFO_formats '' master /home/romka/testrepo 1 1 '' '' | |
+VCS_INFO_formats:5> setopt localoptions noksharrays NO_shwordsplit | |
+VCS_INFO_formats:6> local msg tmp | |
+VCS_INFO_formats:7> local -i i | |
+VCS_INFO_formats:8> local -A hook_com | |
+VCS_INFO_formats:12> hook_com=( action '' action_orig '' branch master branch_orig master base /home/romka/testrepo base_orig /home/romka/testrepo staged 1 staged_orig 1 unstaged 1 unstaged_orig 1 revision '' revision_orig '' misc '' misc_orig '' vcs git vcs_orig git ) | |
+VCS_INFO_formats:30> hook_com[base-name]=testrepo | |
+VCS_INFO_formats:31> hook_com[base-name_orig]='' | |
+VCS_INFO_formats:32> hook_com[subdir]=+VCS_INFO_formats:32> VCS_INFO_reposub /home/romka/testrepo | |
+VCS_INFO_reposub:5> setopt localoptions extendedglob NO_shwordsplit | |
+VCS_INFO_reposub:6> local base=/home/romka/testrepo tmp | |
+VCS_INFO_reposub:8> tmp=+VCS_INFO_reposub:8> pwd -P | |
+VCS_INFO_reposub:8> tmp=/home/romka/testrepo | |
+VCS_INFO_reposub:9> [[ /home/romka/testrepo == /home/romka/testrepo/* ]] | |
+VCS_INFO_reposub:10> printf . | |
+VCS_INFO_reposub:11> return 1 | |
+VCS_INFO_formats:32> hook_com[subdir]=. | |
+VCS_INFO_formats:33> hook_com[subdir_orig]=. | |
+VCS_INFO_formats:35> VCS_INFO_hook post-backend | |
+VCS_INFO_hook:5> local hook static func | |
+VCS_INFO_hook:6> local context hook_name | |
+VCS_INFO_hook:7> local -i ret | |
+VCS_INFO_hook:8> local -a hooks tmp | |
+VCS_INFO_hook:9> local -i debug | |
+VCS_INFO_hook:11> ret=0 | |
+VCS_INFO_hook:12> hook_name=post-backend | |
+VCS_INFO_hook:13> shift | |
+VCS_INFO_hook:14> context=:vcs_info:git+post-backend:default:testrepo | |
+VCS_INFO_hook:15> static=:vcs_info-static_hooks:post-backend | |
+VCS_INFO_hook:17> zstyle -t :vcs_info:git+post-backend:default:testrepo debug | |
+VCS_INFO_hook:17> debug=0 | |
+VCS_INFO_hook:18> (( debug )) | |
+VCS_INFO_hook:24> zstyle -a :vcs_info-static_hooks:post-backend hooks hooks | |
+VCS_INFO_hook:25> (( debug )) | |
+VCS_INFO_hook:28> zstyle -a :vcs_info:git+post-backend:default:testrepo hooks tmp | |
+VCS_INFO_hook:29> (( debug )) | |
+VCS_INFO_hook:32> hooks+=( ) | |
+VCS_INFO_hook:33> (( 0 == 0 )) | |
+VCS_INFO_hook:33> return 0 | |
+VCS_INFO_formats:52> [[ -n '' ]] | |
+VCS_INFO_formats:56> zstyle -a :vcs_info:git:default:testrepo formats msgs | |
+VCS_INFO_formats:57> (( 1 < 1 )) | |
+VCS_INFO_formats:60> [[ -n 1 ]] | |
+VCS_INFO_formats:61> zstyle -s :vcs_info:git:default:testrepo stagedstr tmp | |
+VCS_INFO_formats:62> [[ -z ' ' ]] | |
+VCS_INFO_formats:62> hook_com[staged]=' ' | |
+VCS_INFO_formats:65> [[ -n 1 ]] | |
+VCS_INFO_formats:66> zstyle -s :vcs_info:git:default:testrepo unstagedstr tmp | |
+VCS_INFO_formats:67> [[ -z ' ' ]] | |
+VCS_INFO_formats:67> hook_com[unstaged]=' ' | |
+VCS_INFO_formats:70> [[ addon != standalone ]] | |
+VCS_INFO_formats:70> VCS_INFO_hook pre-addon-quilt | |
+VCS_INFO_hook:5> local hook static func | |
+VCS_INFO_hook:6> local context hook_name | |
+VCS_INFO_hook:7> local -i ret | |
+VCS_INFO_hook:8> local -a hooks tmp | |
+VCS_INFO_hook:9> local -i debug | |
+VCS_INFO_hook:11> ret=0 | |
+VCS_INFO_hook:12> hook_name=pre-addon-quilt | |
+VCS_INFO_hook:13> shift | |
+VCS_INFO_hook:14> context=:vcs_info:git+pre-addon-quilt:default:testrepo | |
+VCS_INFO_hook:15> static=:vcs_info-static_hooks:pre-addon-quilt | |
+VCS_INFO_hook:17> zstyle -t :vcs_info:git+pre-addon-quilt:default:testrepo debug | |
+VCS_INFO_hook:17> debug=0 | |
+VCS_INFO_hook:18> (( debug )) | |
+VCS_INFO_hook:24> zstyle -a :vcs_info-static_hooks:pre-addon-quilt hooks hooks | |
+VCS_INFO_hook:25> (( debug )) | |
+VCS_INFO_hook:28> zstyle -a :vcs_info:git+pre-addon-quilt:default:testrepo hooks tmp | |
+VCS_INFO_hook:29> (( debug )) | |
+VCS_INFO_hook:32> hooks+=( ) | |
+VCS_INFO_hook:33> (( 0 == 0 )) | |
+VCS_INFO_hook:33> return 0 | |
+VCS_INFO_formats:71> local REPLY | |
+VCS_INFO_formats:72> VCS_INFO_quilt addon | |
+VCS_INFO_quilt:195> VCS_INFO_quilt addon | |
+VCS_INFO_quilt:1> emulate -L zsh | |
+VCS_INFO_quilt:2> setopt extendedglob | |
+VCS_INFO_quilt:3> local mode=addon | |
+VCS_INFO_quilt:4> local patches pc tmp qstring root | |
+VCS_INFO_quilt:5> local -i ret | |
+VCS_INFO_quilt:6> local context | |
+VCS_INFO_quilt:7> local -a applied unapplied applied_string unapplied_string quiltcommand quilt_env | |
+VCS_INFO_quilt:8> local -A hook_com | |
+VCS_INFO_quilt:10> context=:vcs_info:git.quilt-addon:default:testrepo | |
+VCS_INFO_quilt:11> zstyle -t :vcs_info:git.quilt-addon:default:testrepo use-quilt | |
+VCS_INFO_quilt:11> return 1 | |
+VCS_INFO_formats:73> hook_com[quilt]='' | |
+VCS_INFO_formats:74> unset REPLY | |
+VCS_INFO_formats:79> (( 1 > maxexports )) | |
+VCS_INFO_formats:80> i=1 | |
+VCS_INFO_formats:81> VCS_INFO_hook set-message 0 %b%c%u%m | |
+VCS_INFO_hook:5> local hook static func | |
+VCS_INFO_hook:6> local context hook_name | |
+VCS_INFO_hook:7> local -i ret | |
+VCS_INFO_hook:8> local -a hooks tmp | |
+VCS_INFO_hook:9> local -i debug | |
+VCS_INFO_hook:11> ret=0 | |
+VCS_INFO_hook:12> hook_name=set-message | |
+VCS_INFO_hook:13> shift | |
+VCS_INFO_hook:14> context=:vcs_info:git+set-message:default:testrepo | |
+VCS_INFO_hook:15> static=:vcs_info-static_hooks:set-message | |
+VCS_INFO_hook:17> zstyle -t :vcs_info:git+set-message:default:testrepo debug | |
+VCS_INFO_hook:17> debug=0 | |
+VCS_INFO_hook:18> (( debug )) | |
+VCS_INFO_hook:24> zstyle -a :vcs_info-static_hooks:set-message hooks hooks | |
+VCS_INFO_hook:25> (( debug )) | |
+VCS_INFO_hook:28> zstyle -a :vcs_info:git+set-message:default:testrepo hooks tmp | |
+VCS_INFO_hook:29> (( debug )) | |
+VCS_INFO_hook:32> hooks+=( vcs-detect-changes git-untracked git-aheadbehind git-stash git-remotebranch git-tagname ) | |
+VCS_INFO_hook:33> (( 6 == 0 )) | |
+VCS_INFO_hook:39> typeset -g -r vcs rrn usercontext maxexports msgs vcs_comm | |
+VCS_INFO_hook:40> hook=vcs-detect-changes | |
+VCS_INFO_hook:41> func=+vi-vcs-detect-changes | |
+VCS_INFO_hook:42> (( 1 == 0 )) | |
+VCS_INFO_hook:46> (( debug )) | |
+VCS_INFO_hook:47> true | |
+VCS_INFO_hook:48> +vi-vcs-detect-changes 0 %b%c%u%m | |
++vi-vcs-detect-changes:1> [[ git == git ]] | |
++vi-vcs-detect-changes:3> git ls-remote --get-url | |
++vi-vcs-detect-changes:3> local remote=git@github.com:romkatv/mkport.git | |
++vi-vcs-detect-changes:4> [[ "$remote" -regex-match "github" ]] | |
++vi-vcs-detect-changes:5> vcs_visual_identifier=VCS_GIT_GITHUB_ICON | |
++vi-vcs-detect-changes:22> [[ -n ' ' ]] | |
++vi-vcs-detect-changes:23> VCS_WORKDIR_DIRTY=true | |
+VCS_INFO_hook:49> case 0 (0) | |
+VCS_INFO_hook:40> hook=git-untracked | |
+VCS_INFO_hook:41> func=+vi-git-untracked | |
+VCS_INFO_hook:42> (( 1 == 0 )) | |
+VCS_INFO_hook:46> (( debug )) | |
+VCS_INFO_hook:47> true | |
+VCS_INFO_hook:48> +vi-git-untracked 0 %b%c%u%m | |
++vi-git-untracked:1> [[ -z .git || .git == . ]] | |
++vi-git-untracked:4> git rev-parse --show-toplevel | |
++vi-git-untracked:4> local repoTopLevel=/home/romka/testrepo | |
++vi-git-untracked:6> [[ 0 != 0 || -z /home/romka/testrepo ]] | |
++vi-git-untracked:8> git ls-files --others --exclude-standard /home/romka/testrepo | |
++vi-git-untracked:8> local untrackedFiles=h | |
++vi-git-untracked:10> [[ -z h ]] | |
++vi-git-untracked:14> [[ -z h ]] | |
++vi-git-untracked:16> hook_com[unstaged]+=++vi-git-untracked:16> print_icon VCS_UNTRACKED_ICON | |
+print_icon:1> local icon_name=VCS_UNTRACKED_ICON | |
+print_icon:2> local ICON_USER_VARIABLE=POWERLEVEL9K_VCS_UNTRACKED_ICON | |
+print_icon:3> defined POWERLEVEL9K_VCS_UNTRACKED_ICON | |
+defined:1> [[ ! -z '' ]] | |
+print_icon:6> echo -n | |
++vi-git-untracked:16> hook_com[unstaged]+=' ' | |
++vi-git-untracked:17> VCS_WORKDIR_HALF_DIRTY=true | |
+VCS_INFO_hook:49> case 0 (0) | |
+VCS_INFO_hook:40> hook=git-aheadbehind | |
+VCS_INFO_hook:41> func=+vi-git-aheadbehind | |
+VCS_INFO_hook:42> (( 1 == 0 )) | |
+VCS_INFO_hook:46> (( debug )) | |
+VCS_INFO_hook:47> true | |
+VCS_INFO_hook:48> +vi-git-aheadbehind 0 %b%c%u%m | |
++vi-git-aheadbehind:1> local ahead behind | |
++vi-git-aheadbehind:2> local -a gitstatus | |
++vi-git-aheadbehind:6> ahead=++vi-git-aheadbehind:6> git rev-list --count 'master@{upstream}..HEAD' | |
++vi-git-aheadbehind:6> ahead=2 | |
++vi-git-aheadbehind:7> (( ahead )) | |
++vi-git-aheadbehind:7> gitstatus+=++vi-git-aheadbehind:7> print_icon VCS_OUTGOING_CHANGES_ICON | |
+print_icon:1> local icon_name=VCS_OUTGOING_CHANGES_ICON | |
+print_icon:2> local ICON_USER_VARIABLE=POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON | |
+print_icon:3> defined POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON | |
+defined:1> [[ ! -z '' ]] | |
+print_icon:6> echo -n ' ' | |
++vi-git-aheadbehind:7> gitstatus+=( ' 2' ) | |
++vi-git-aheadbehind:11> behind=++vi-git-aheadbehind:11> git rev-list --count 'HEAD..master@{upstream}' | |
++vi-git-aheadbehind:11> behind=1 | |
++vi-git-aheadbehind:12> (( behind )) | |
++vi-git-aheadbehind:12> gitstatus+=++vi-git-aheadbehind:12> print_icon VCS_INCOMING_CHANGES_ICON | |
+print_icon:1> local icon_name=VCS_INCOMING_CHANGES_ICON | |
+print_icon:2> local ICON_USER_VARIABLE=POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON | |
+print_icon:3> defined POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON | |
+defined:1> [[ ! -z '' ]] | |
+print_icon:6> echo -n ' ' | |
++vi-git-aheadbehind:12> gitstatus+=( ' 1' ) | |
++vi-git-aheadbehind:14> hook_com[misc]+=' 2 1' | |
+VCS_INFO_hook:49> case 0 (0) | |
+VCS_INFO_hook:40> hook=git-stash | |
+VCS_INFO_hook:41> func=+vi-git-stash | |
+VCS_INFO_hook:42> (( 1 == 0 )) | |
+VCS_INFO_hook:46> (( debug )) | |
+VCS_INFO_hook:47> true | |
+VCS_INFO_hook:48> +vi-git-stash 0 %b%c%u%m | |
++vi-git-stash:1> [[ -s .git/logs/refs/stash ]] | |
++vi-git-stash:2> local -a stashes=( $'0000000000000000000000000000000000000000 23bba17f49a665cd9a0286602d5bfb4e12260b92 romkatv <roman.perepelitsa@gmail.com> 1551176283 +0100\tWIP on master: b4338e7 add a' $'23bba17f49a665cd9a0286602d5bfb4e12260b92 5f741848ea7f796cee2f25796430206745067dc2 romkatv <roman.perepelitsa@gmail.com> 1551177648 +0100\tWIP on master: b4338e7 add a' ) | |
++vi-git-stash:3> hook_com[misc]+=++vi-git-stash:3> print_icon VCS_STASH_ICON | |
+print_icon:1> local icon_name=VCS_STASH_ICON | |
+print_icon:2> local ICON_USER_VARIABLE=POWERLEVEL9K_VCS_STASH_ICON | |
+print_icon:3> defined POWERLEVEL9K_VCS_STASH_ICON | |
+defined:1> [[ ! -z '' ]] | |
+print_icon:6> echo -n ' ' | |
++vi-git-stash:3> hook_com[misc]+=' 2' | |
+VCS_INFO_hook:49> case 0 (0) | |
+VCS_INFO_hook:40> hook=git-remotebranch | |
+VCS_INFO_hook:41> func=+vi-git-remotebranch | |
+VCS_INFO_hook:42> (( 1 == 0 )) | |
+VCS_INFO_hook:46> (( debug )) | |
+VCS_INFO_hook:47> true | |
+VCS_INFO_hook:48> +vi-git-remotebranch 0 %b%c%u%m | |
++vi-git-remotebranch:1> local remote | |
++vi-git-remotebranch:2> local branch_name=master | |
++vi-git-remotebranch:5> remote=++vi-git-remotebranch:5> git rev-parse --verify 'HEAD@{upstream}' --symbolic-full-name | |
++vi-git-remotebranch:5> remote=origin/master | |
++vi-git-remotebranch:7> [[ -n '' ]] | |
++vi-git-remotebranch:22> hook_com[branch]=++vi-git-remotebranch:22> print_icon VCS_BRANCH_ICON | |
+print_icon:1> local icon_name=VCS_BRANCH_ICON | |
+print_icon:2> local ICON_USER_VARIABLE=POWERLEVEL9K_VCS_BRANCH_ICON | |
+print_icon:3> defined POWERLEVEL9K_VCS_BRANCH_ICON | |
+defined:1> [[ ! -z '' ]] | |
+print_icon:6> echo -n ' ' | |
++vi-git-remotebranch:22> hook_com[branch]=' master' | |
++vi-git-remotebranch:26> [[ -n origin/master ]] | |
++vi-git-remotebranch:26> [[ master != master ]] | |
+VCS_INFO_hook:49> case 0 (0) | |
+VCS_INFO_hook:40> hook=git-tagname | |
+VCS_INFO_hook:41> func=+vi-git-tagname | |
+VCS_INFO_hook:42> (( 1 == 0 )) | |
+VCS_INFO_hook:46> (( debug )) | |
+VCS_INFO_hook:47> true | |
+VCS_INFO_hook:48> +vi-git-tagname 0 %b%c%u%m | |
++vi-git-tagname:1> [[ false == false ]] | |
++vi-git-tagname:3> local tag | |
++vi-git-tagname:4> tag=++vi-git-tagname:4> git describe --tags --exact-match HEAD | |
++vi-git-tagname:4> tag='' | |
++vi-git-tagname:6> [[ -n '' ]] | |
+VCS_INFO_hook:49> case 0 (0) | |
+VCS_INFO_hook:57> typeset -g +r vcs rrn usercontext maxexports msgs vcs_comm | |
+VCS_INFO_hook:58> return 0 | |
+VCS_INFO_formats:82> zformat -f msg %b%c%u%m a: 'b: master' 'c: ' i: 'm: 2 1 2' r:testrepo s:git 'u: ' Q: R:/home/romka/testrepo S:. | |
+VCS_INFO_formats:94> msgs[$i]=' master 2 1 2' | |
+VCS_INFO_formats:99> hook_com=( ) | |
+VCS_INFO_formats:100> backend_misc=( ) | |
+VCS_INFO_formats:101> return 0 | |
+VCS_INFO_get_data_git:291> return 0 | |
+vcs_info:94> VCS_INFO_set | |
+VCS_INFO_set:5> setopt localoptions noksharrays NO_shwordsplit unset | |
+VCS_INFO_set:6> local -i i j | |
+VCS_INFO_set:8> [[ '' == --nvcs ]] | |
+VCS_INFO_set:17> (( 1 - 1 < 0 )) | |
+VCS_INFO_set:18> i=0 | |
+VCS_INFO_set:19> (( j = i + 1 )) | |
+VCS_INFO_set:20> typeset -g 'vcs_info_msg_0_= master 2 1 2' | |
+VCS_INFO_set:23> (( i < maxexports )) | |
+VCS_INFO_set:24> j=1 | |
+VCS_INFO_set:25> [[ -n '' ]] | |
+VCS_INFO_set:24> j=2 | |
+VCS_INFO_set:25> [[ -n '' ]] | |
+VCS_INFO_set:28> return 0 | |
+vcs_info:95> return 0 | |
+prompt_vcs:8> local vcs_prompt=' master 2 1 2' | |
+prompt_vcs:10> [[ -n ' master 2 1 2' ]] | |
+prompt_vcs:11> [[ true == true ]] | |
+prompt_vcs:14> current_state=modified | |
+prompt_vcs:22> left_prompt_segment prompt_vcs_MODIFIED 4 yellow black ' master 2 1 2' VCS_GIT_GITHUB_ICON | |
+left_prompt_segment:1> local segment_name=prompt_vcs_MODIFIED | |
+left_prompt_segment:2> local current_index=4 | |
+left_prompt_segment:4> local joined | |
+left_prompt_segment:5> segmentShouldBeJoined 4 3 'root_indicator dir_writable dir vcs' | |
+segmentShouldBeJoined:1> local current_index=4 | |
+segmentShouldBeJoined:2> local last_segment_index=3 | |
+segmentShouldBeJoined:4> local -a elements | |
+segmentShouldBeJoined:5> elements=( root_indicator dir_writable dir vcs ) | |
+segmentShouldBeJoined:7> local current_segment=vcs | |
+segmentShouldBeJoined:8> local joined=false | |
+segmentShouldBeJoined:9> [[ vcs == _joined ]] | |
+segmentShouldBeJoined:36> [[ false == true ]] | |
+segmentShouldBeJoined:39> return 1 | |
+left_prompt_segment:5> joined=false | |
+left_prompt_segment:8> local backgroundColor=yellow | |
+left_prompt_segment:9> local foregroundColor=black | |
+left_prompt_segment:12> local BACKGROUND_USER_VARIABLE=POWERLEVEL9K_VCS_MODIFIED_BACKGROUND | |
+left_prompt_segment:13> local BG_COLOR_MODIFIER='' | |
+left_prompt_segment:14> [[ -n '' ]] | |
+left_prompt_segment:17> local FOREGROUND_USER_VARIABLE=POWERLEVEL9K_VCS_MODIFIED_FOREGROUND | |
+left_prompt_segment:18> local FG_COLOR_MODIFIER='' | |
+left_prompt_segment:19> [[ -n '' ]] | |
+left_prompt_segment:22> backgroundColor=+left_prompt_segment:22> getColorCode yellow | |
+getColorCode:2> [[ yellow == <-> ]] | |
+getColorCode:8> local colorName=yellow | |
+getColorCode:10> [[ yellow == none ]] | |
+getColorCode:12> [[ yellow == foreground ]] | |
+getColorCode:18> [[ yellow == background ]] | |
+getColorCode:25> colorName=yellow | |
+getColorCode:27> colorName=yellow | |
+getColorCode:29> colorName=yellow | |
+getColorCode:30> echo -n 003 | |
+left_prompt_segment:22> backgroundColor=003 | |
+left_prompt_segment:23> foregroundColor=+left_prompt_segment:23> getColorCode black | |
+getColorCode:2> [[ black == <-> ]] | |
+getColorCode:8> local colorName=black | |
+getColorCode:10> [[ black == none ]] | |
+getColorCode:12> [[ black == foreground ]] | |
+getColorCode:18> [[ black == background ]] | |
+getColorCode:25> colorName=black | |
+getColorCode:27> colorName=black | |
+getColorCode:29> colorName=black | |
+getColorCode:30> echo -n 000 | |
+left_prompt_segment:23> foregroundColor=000 | |
+left_prompt_segment:25> local background foreground | |
+left_prompt_segment:26> [[ -n 003 ]] | |
+left_prompt_segment:26> background=+left_prompt_segment:26> backgroundColor 003 | |
+backgroundColor:1> getColor 003 | |
+getColor:2> [[ 003 != <-> ]] | |
+getColor:5> echo -n 003 | |
+backgroundColor:1> echo -n '%K{003}' | |
+left_prompt_segment:26> background='%K{003}' | |
+left_prompt_segment:27> [[ -n 000 ]] | |
+left_prompt_segment:27> foreground=+left_prompt_segment:27> foregroundColor 000 | |
+foregroundColor:1> getColor 000 | |
+getColor:2> [[ 000 != <-> ]] | |
+getColor:5> echo -n 000 | |
+foregroundColor:1> echo -n '%F{000}' | |
+left_prompt_segment:27> foreground='%F{000}' | |
+left_prompt_segment:29> [[ 004 != NONE ]] | |
+left_prompt_segment:29> isSameColor 003 004 | |
+isSameColor:1> [[ 003 == NONE || 004 == NONE ]] | |
+isSameColor:5> getColorCode 003 | |
+getColorCode:2> [[ 003 == <-> ]] | |
+getColorCode:4> echo -n 003 | |
+getColorCode:5> return | |
+isSameColor:5> local color1=003 | |
+isSameColor:6> getColorCode 004 | |
+getColorCode:2> [[ 004 == <-> ]] | |
+getColorCode:4> echo -n 004 | |
+getColorCode:5> return | |
+isSameColor:6> local color2=004 | |
+isSameColor:8> return 1 | |
+left_prompt_segment:30> echo -n '%K{003}%F{004}' | |
+left_prompt_segment:31> [[ false == false ]] | |
+left_prompt_segment:33> print_icon LEFT_SEGMENT_SEPARATOR | |
+print_icon:1> local icon_name=LEFT_SEGMENT_SEPARATOR | |
+print_icon:2> local ICON_USER_VARIABLE=POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR | |
+print_icon:3> defined POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR | |
+defined:1> [[ ! -z '' ]] | |
+print_icon:6> echo -n | |
+left_prompt_segment:33> echo -n ' ' | |
+left_prompt_segment:51> local visual_identifier | |
+left_prompt_segment:52> [[ -n VCS_GIT_GITHUB_ICON ]] | |
+left_prompt_segment:53> visual_identifier=+left_prompt_segment:53> print_icon VCS_GIT_GITHUB_ICON | |
+print_icon:1> local icon_name=VCS_GIT_GITHUB_ICON | |
+print_icon:2> local ICON_USER_VARIABLE=POWERLEVEL9K_VCS_GIT_GITHUB_ICON | |
+print_icon:3> defined POWERLEVEL9K_VCS_GIT_GITHUB_ICON | |
+defined:1> [[ ! -z '' ]] | |
+print_icon:6> echo -n ' ' | |
+left_prompt_segment:53> visual_identifier=' ' | |
+left_prompt_segment:54> [[ -n ' ' ]] | |
+left_prompt_segment:58> [[ -n ' master 2 1 2' ]] | |
+left_prompt_segment:58> visual_identifier=' ' | |
+left_prompt_segment:60> local visual_identifier_color_variable=POWERLEVEL9K_VCS_MODIFIED_VISUAL_IDENTIFIER_COLOR | |
+left_prompt_segment:61> set_default POWERLEVEL9K_VCS_MODIFIED_VISUAL_IDENTIFIER_COLOR 000 | |
+set_default:1> local varname=POWERLEVEL9K_VCS_MODIFIED_VISUAL_IDENTIFIER_COLOR | |
+set_default:2> local default_value=000 | |
+set_default:4> defined POWERLEVEL9K_VCS_MODIFIED_VISUAL_IDENTIFIER_COLOR | |
+defined:1> [[ ! -z '' ]] | |
+set_default:4> typeset -g 'POWERLEVEL9K_VCS_MODIFIED_VISUAL_IDENTIFIER_COLOR=000' | |
+left_prompt_segment:62> visual_identifier=+left_prompt_segment:62> foregroundColor 000 | |
+foregroundColor:1> getColor 000 | |
+getColor:2> [[ 000 != <-> ]] | |
+getColor:5> echo -n 000 | |
+foregroundColor:1> echo -n '%F{000}' | |
+left_prompt_segment:62> visual_identifier='%F{000} ' | |
+left_prompt_segment:67> echo -n '%F{000} ' | |
+left_prompt_segment:69> [[ -n ' master 2 1 2' ]] | |
+left_prompt_segment:69> echo -n '%F{000} master 2 1 2' | |
+left_prompt_segment:70> echo -n ' ' | |
+left_prompt_segment:72> CURRENT_BG=003 | |
+left_prompt_segment:73> last_left_element_index=4 |
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
+prompt_vcs:26> local props | |
+prompt_vcs:27> props=+prompt_vcs:27> /home/romka/bin/gitstatus '--dirty-max-index-size=4096' | |
+prompt_vcs:27> props=( master master git@github.com:romkatv/mkport.git '' 1 1 1 2 1 2 ) | |
+prompt_vcs:28> local cache_key='prompt_vcs master master git@github.com:romkatv/mkport.git '\'\'' 1 1 1 2 1 2' | |
+prompt_vcs:29> _p9k_cache_get 'prompt_vcs master master git@github.com:romkatv/mkport.git '\'\'' 1 1 1 2 1 2' | |
+_p9k_cache_get:1> _P9K_RETVAL='prompt_vcs_MODIFIED 4 '\''yellow'\'' '\''black'\'' '\'' master 2 1 2'\' | |
+_p9k_cache_get:2> [[ 'prompt_vcs_MODIFIED 4 '\''yellow'\'' '\''black'\'' '\'' master 2 1 2'\' != __p9k_empty__ ]] | |
+prompt_vcs:87> left_prompt_segment prompt_vcs_MODIFIED 4 yellow black ' master 2 1 2' | |
+left_prompt_segment:1> _p9k_should_join_left 4 | |
+_p9k_should_join_left:1> [[ 3 -ge 4 ]] | |
+left_prompt_segment:1> local join=false | |
+left_prompt_segment:2> local cache_key='left_prompt_segment prompt_vcs_MODIFIED yellow black 1 '\'\'' 004 false' | |
+left_prompt_segment:3> _p9k_cache_get 'left_prompt_segment prompt_vcs_MODIFIED yellow black 1 '\'\'' 004 false' | |
+_p9k_cache_get:1> _P9K_RETVAL=\''%K{003}%F{004} %F{000}'\'' '\''003'\' | |
+_p9k_cache_get:2> [[ \''%K{003}%F{004} %F{000}'\'' '\''003'\' != __p9k_empty__ ]] | |
+left_prompt_segment:56> local tuple=( '%K{003}%F{004} %F{000}' 003 ) | |
+left_prompt_segment:57> echo -n '%K{003}%F{004} %F{000} master 2 1 2 ' | |
+left_prompt_segment:58> LAST_SEGMENT_INDEX=4 | |
+left_prompt_segment:59> CURRENT_BG=003 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment