romkatv / powerlevel10k

A Zsh theme
MIT License
46.42k stars 2.19k forks source link

Gcloud still shows project ID instead of project name in segment #620

Closed Jeklah closed 4 years ago

Jeklah commented 4 years ago

gcloud project name error This was taken after a fresh pull from the repo and running p10k configure. As you can see, it still shows, in my example, flowing-depot-270914, which is the project ID. The project name, in this case, "Eve Online" should be shown instead.

romkatv commented 4 years ago

Please do this: https://github.com/romkatv/powerlevel10k/pull/567#issuecomment-603170837

Jeklah commented 4 years ago

typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false typeset -g POWERLEVEL9K_ASDF_HASKELL_BACKGROUND=3 typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND=232 typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=3 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=3 typeset -g P9K_VISUAL_IDENTIFIER=$'\uf113' typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}' typeset -g POWERLEVEL9K_IP_BACKGROUND=4 typeset -g P9K_PROMPT=regular typeset -g POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false typeset -g POWERLEVEL9K_ASDF_RUBY_BACKGROUND=1 typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true typeset -g POWERLEVEL9K_PHP_VERSION_BACKGROUND=5 typeset -g POWERLEVEL9K_ASDF_NODEJS_BACKGROUND=2 typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION=✘ typeset -g POWERLEVEL9K_NORDVPN_DISCONNECTING_VISUAL_IDENTIFIER_EXPANSION='' typeset -g POWERLEVEL9K_DOTNET_VERSION_PROJECT_ONLY=true typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=244 typeset -g POWERLEVEL9K_CONTEXT_SUDO_CONTENT_EXPANSION='' typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80 typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true typeset -g -a POWERLEVEL9K_LUAENV_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_STATUS_ERROR=true typeset -g POWERLEVEL9K_CONTEXT_BACKGROUND=0 typeset -g POWERLEVEL9K_NORDVPN_DISCONNECTED_CONTENT_EXPANSION='' typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=0 typeset -g POWERLEVEL9K_CONTEXT_SUDO_VISUAL_IDENTIFIER_EXPANSION='' typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='' typeset -g POWERLEVEL9K_CONTEXT_REMOTE_SUDO_TEMPLATE=%n@%m typeset -g POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER='' typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX=%244F├─ typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_CONTENT_EXPANSION=▶ typeset -g POWERLEVEL9K_CONTEXT_PREFIX='with ' typeset -g POWERLEVEL9K_OS_ICON_BACKGROUND=7 typeset -g -F P9K_COMMAND_DURATION_SECONDS=0.0632016659 typeset -g POWERLEVEL9K_JAVA_VERSION_PROJECT_ONLY=true typeset -g POWERLEVEL9K_ASDF_LUA_BACKGROUND=4 typeset -g POWERLEVEL9K_GO_VERSION_PROJECT_ONLY=true typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true typeset -g POWERLEVEL9K_DIR_HYPERLINK=false typeset -g POWERLEVEL9K_VCS_STAGED_MAX_NUM=-1 typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_FILTERED=false typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=1 typeset -g -a POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( status command_execution_time background_jobs direnv asdf virtualenv anaconda pyenv goenv nodenv nvm nodeenv rbenv rvm fvm luaenv jenv plenv phpenv haskell_stack kubecontext terraform aws aws_eb_env azure gcloud google_app_cred context nordvpn ranger nnn vim_shell midnight_commander nix_shell vi_mode todo timewarrior taskwarrior time newline ) typeset -g P9K_GCLOUD_PROJECT=flowing-depot-270914 typeset -g POWERLEVEL9K_GOENV_SHOW_SYSTEM=true typeset -g P9K_KUBECONTEXT_CLOUD_ZONE='' typeset -g -a POWERLEVEL9K_PLENV_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE=%n@%m typeset -g POWERLEVEL9K_ASDF_PHP_FOREGROUND=0 typeset -g P9K_KUBECONTEXT_CLUSTER='' typeset -g POWERLEVEL9K_ASDF_JAVA_FOREGROUND=1 typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION='' typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='took ' typeset -g P9K_GCLOUD_ACCOUNT=arthurbowers@gmail.com typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_BACKGROUND='' typeset -g POWERLEVEL9K_LARAVEL_VERSION_FOREGROUND=1 typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0B0' typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_FOREGROUND=0 typeset -g POWERLEVEL9K_CONTEXT_REMOTE_FOREGROUND=3 typeset -g POWERLEVEL9K_NORDVPN_DISCONNECTING_CONTENT_EXPANSION='' typeset -g POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi' typeset -g POWERLEVEL9K_JAVA_VERSION_FULL=false typeset -g -a POWERLEVEL9K_PHPENV_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_ASDF_GOLANG_BACKGROUND=4 typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='' typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE=%n@%m typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=255 typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='${P9K_IP_RX_RATE:+⇣$P9K_IP_RX_RATE }${P9K_IP_TX_RATE:+⇡$P9K_IP_TX_RATE }$P9K_IP_IP' typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_CONTENT_EXPANSION=❯ typeset -g -a POWERLEVEL9K_GOENV_SOURCES=( shell local global ) typeset -g -a POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES=( '' DEFAULT ) typeset -g POWERLEVEL9K_ASDF_PYTHON_FOREGROUND=0 typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20 typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_FOREGROUND=196 typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}${${:-/$P9K_KUBECONTEXT_NAMESPACE}:#/default}' typeset -g ZSH_VERSION=5.5.1 typeset -g POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws|awless|terraform|pulumi' typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter()))+${my_git_format}}' typeset -g POWERLEVEL9K_VCS_BRANCH_ICON='\uF126 ' typeset -g POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='\uE0B1' typeset -g POWERLEVEL9K_ASDF_PHP_BACKGROUND=5 typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' typeset -g POWERLEVEL9K_GCLOUD_COMPLETE_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_NAME//\%/%%}' typeset -g -a POWERLEVEL9K_VCS_BACKENDS=( git ) typeset -g P9K_KUBECONTEXT_NAMESPACE='' typeset -g P9K_KUBECONTEXT_CLOUD_NAME='' typeset -g POWERLEVEL9K_TERRAFORM_DEFAULT_FOREGROUND=4 typeset -g POWERLEVEL9K_CONTEXT_REMOTE_TEMPLATE=%n@%m typeset -g POWERLEVEL9K_DIR_FOREGROUND=254 typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=· typeset -g POWERLEVEL9K_PHPENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito' typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=0 typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX='' typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_ASDF_RUST_FOREGROUND=0 typeset -g POWERLEVEL9K_CONTEXT_DEFAULT_CONTENT_EXPANSION='' typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VICMD_CONTENT_EXPANSION=❮ typeset -g POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='\uE0B3' typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER='(.bzr|.citc|.git|.hg|.node-version|.python-version|.go-version|.ruby-version|.lua-version|.java-version|.perl-version|.php-version|.tool-version|.shorten_folder_marker|.svn|.terraform|CVS|Cargo.toml|composer.json|go.mod|package.json|stack.yaml)' typeset -g -a POWERLEVEL9K_NODENV_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_NORDVPN_CONNECTING_CONTENT_EXPANSION='' typeset -g -a POWERLEVEL9K_RBENV_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX='' typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=1 typeset -g POWERLEVEL9K_ASDF_PYTHON_BACKGROUND=4 typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 typeset -g POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM=-1 typeset -g POWERLEVEL9K_ANACONDA_LEFT_DELIMITER='' typeset -g POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE=true export -i P9K_SSH=0 typeset -g POWERLEVEL9K_VIRTUALENV_RIGHT_DELIMITER='' typeset -g POWERLEVEL9K_NODENV_SHOW_SYSTEM=true typeset -g POWERLEVEL9K_VI_MODE_FOREGROUND=0 typeset -g POWERLEVEL9K_VCS_COMMITS_AHEAD_MAX_NUM=-1 typeset -g POWERLEVEL9K_ASDF_POSTGRES_FOREGROUND=0 typeset -g POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION=✘ typeset -g POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true typeset -g POWERLEVEL9K_ASDF_PERL_FOREGROUND=0 typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL=▓▒░ typeset -g P9K_KUBECONTEXT_NAME='' typeset -g POWERLEVEL9K_NODEENV_SHOW_NODE_VERSION=false typeset -g POWERLEVEL9K_JENV_SHOW_SYSTEM=true typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_CONTENT_EXPANSION=▶ typeset -g POWERLEVEL9K_VI_MODE_INSERT_FOREGROUND=8 typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VIVIS_FOREGROUND=76 typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VIVIS_CONTENT_EXPANSION=Ⅴ typeset -g POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_ID//\%/%%}' typeset -g POWERLEVEL9K_ASDF_RUST_BACKGROUND=208 typeset -g POWERLEVEL9K_SHORTEN_DELIMITER='' typeset -g POWERLEVEL9K_PHP_VERSION_PROJECT_ONLY=true typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS=40 typeset -g POWERLEVEL9K_PLENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95 typeset -g POWERLEVEL9K_GCLOUD_SHOW_ON_COMMAND='gcloud|gcs' typeset -g -a POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon dir vcs newline ) typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false typeset -g POWERLEVEL9K_CONTEXT_ROOT_BACKGROUND=0 typeset -g POWERLEVEL9K_RVM_SHOW_GEMSET=false typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL='' typeset -g POWERLEVEL9K_NODEENV_LEFT_DELIMITER='' typeset -g POWERLEVEL9K_NORDVPN_CONNECTING_VISUAL_IDENTIFIER_EXPANSION='' typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_FOREGROUND=76 typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=7 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=0 typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=false typeset -g POWERLEVEL9K_VI_INSERT_MODE_STRING='' typeset -g POWERLEVEL9K_STATUS_OK=true typeset -g POWERLEVEL9K_ASDF_JAVA_BACKGROUND=7 typeset -g POWERLEVEL9K_GCLOUD_REFRESH_PROJECT_NAME_SECONDS=60 typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_VCS_UNTRACKED_ICON='?' typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VICMD_FOREGROUND=76 typeset -g POWERLEVEL9K_NORDVPN_DISCONNECTED_VISUAL_IDENTIFIER_EXPANSION='' typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique typeset -g POWERLEVEL9K_LARAVEL_VERSION_BACKGROUND=7 typeset -g POWERLEVEL9K_LUAENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_PROMPT_CHAR_BACKGROUND='' typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 typeset -g P9K_KUBECONTEXT_CLOUD_CLUSTER='' typeset -g POWERLEVEL9K_ASDF_PERL_BACKGROUND=4 typeset -g POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='%{%}' typeset -g P9K_KUBECONTEXT_CLOUD_ACCOUNT='' typeset -g P9K_KUBECONTEXT_USER='' typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_BACKGROUND=5 typeset -g -a POWERLEVEL9K_ASDF_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_CONTEXT_REMOTE_BACKGROUND=0 typeset -g POWERLEVEL9K_IP_FOREGROUND=0 typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=%244F╭─ typeset -g POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\uE0B0' typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true typeset -g POWERLEVEL9K_VIRTUALENV_LEFT_DELIMITER='' typeset -g POWERLEVEL9K_HASKELL_STACK_ALWAYS_SHOW=true typeset -g POWERLEVEL9K_ASDF_RUBY_FOREGROUND=0 typeset -g POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=OVERTYPE typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_SHOW_ON_COMMAND='terraform|pulumi' typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(wg|(.tun))[0-9]' typeset -g POWERLEVEL9K_NODEENV_RIGHT_DELIMITER='' typeset -g POWERLEVEL9K_ASDF_ERLANG_FOREGROUND=0 typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=%244F╰─ typeset -g POWERLEVEL9K_BATTERY_STAGES='\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578' typeset -g POWERLEVEL9K_VCS_UNTRACKED_MAX_NUM=-1 typeset -g POWERLEVEL9K_PHPENV_SHOW_SYSTEM=true typeset -g POWERLEVEL9K_STATUS_OK_PIPE=true typeset -g POWERLEVEL9K_MODE=nerdfont-complete typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX='at ' typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL=true typeset -g POWERLEVEL9K_CONTEXT_REMOTE_SUDO_FOREGROUND=3 typeset -g POWERLEVEL9K_LOAD_WHICH=5 typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VICMD_CONTENT_EXPANSION=❮ typeset -g POWERLEVEL9K_TIME_PREFIX='at ' typeset -g POWERLEVEL9K_STATUS_VERBOSE_SIGNAME=false typeset -g POWERLEVEL9K_TERRAFORM_DEFAULT_BACKGROUND=0 typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT='' typeset -g POWERLEVEL9K_ASDF_FOREGROUND=0 typeset -g POWERLEVEL9K_ASDF_FLUTTER_BACKGROUND=4 typeset -g -a POWERLEVEL9K_JENV_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_CONTENT_EXPANSION='${P9K_GOOGLE_APP_CRED_PROJECT_ID//\%/%%}' typeset -g POWERLEVEL9K_RVM_SHOW_PREFIX=false typeset -g POWERLEVEL9K_ASDF_LUA_FOREGROUND=0 typeset -g POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND=2 typeset -g -a POWERLEVEL9K_PYENV_SOURCES=( shell local global ) typeset -g POWERLEVEL9K_LUAENV_SHOW_SYSTEM=true typeset -g POWERLEVEL9K_VI_MODE_VISUAL_BACKGROUND=4 typeset -g POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0B2' typeset -g POWERLEVEL9K_NODE_VERSION_PROJECT_ONLY=true typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' typeset -g P9K_GAP='' typeset -g POWERLEVEL9K_ASDF_ELIXIR_FOREGROUND=0 typeset -g -a POWERLEVEL9K_KUBECONTEXT_CLASSES=( '' DEFAULT ) typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90 typeset -g POWERLEVEL9K_CONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='' typeset -g POWERLEVEL9K_ASDF_ERLANG_BACKGROUND=1 typeset -g POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND=2 typeset -g POWERLEVEL9K_VCS_PREFIX='on ' typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_LEFT_WHITESPACE='' typeset -g POWERLEVEL9K_JAVA_VERSION_FOREGROUND=1 typeset -g POWERLEVEL9K_VI_VISUAL_MODE_STRING=VISUAL typeset -g POWERLEVEL9K_ASDF_SHOW_ON_UPGLOB='' typeset -g POWERLEVEL9K_VPN_IP_SHOW_ALL=false typeset -g POWERLEVEL9K_VI_MODE_OVERWRITE_BACKGROUND=3 typeset -g POWERLEVEL9K_ASDF_SHOW_SYSTEM=true typeset -g POWERLEVEL9K_RBENV_SHOW_SYSTEM=true typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false typeset -g POWERLEVEL9K_ASDF_POSTGRES_BACKGROUND=6 typeset -g POWERLEVEL9K_DIR_SHOW_WRITABLE=true typeset -g POWERLEVEL9K_CONTEXT_REMOTE_SUDO_BACKGROUND=0 typeset -g POWERLEVEL9K_INSTANT_PROMPT=off typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VIVIS_CONTENT_EXPANSION=Ⅴ typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=off typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL=░▒▓ typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX='' typeset -g POWERLEVEL9K_STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION=✔ typeset -g POWERLEVEL9K_ASDF_HASKELL_FOREGROUND=0 typeset -g POWERLEVEL9K_ASDF_BACKGROUND=7 typeset -g P9K_CONTENT='%{d%}%B%F{255}~%b%K{004}%F{254}%{d%}' typeset -g POWERLEVEL9K_ICON_PADDING=none typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VIVIS_FOREGROUND=196 typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT=50 typeset -g POWERLEVEL9K_VCS_UNSTAGED_MAX_NUM=-1 typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VIINS_FOREGROUND=76 export P9K_TTY=old typeset -g -a POWERLEVEL9K_TERRAFORM_CLASSES=( '' DEFAULT ) typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_RIGHT_WHITESPACE='' typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION=✘ typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true typeset -g POWERLEVEL9K_PHP_VERSION_FOREGROUND=0 typeset -g POWERLEVEL9K_ASDF_ELIXIR_BACKGROUND=5 typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=0 typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_VIINS_CONTENT_EXPANSION=❯ typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false typeset -g POWERLEVEL9K_VCS_COMMITS_BEHIND_MAX_NUM=-1 typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION=✔ typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='\uE0B2' typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_BACKGROUND=5 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND=3 typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_FOREGROUND=196 typeset -g POWERLEVEL9K_VI_MODE_NORMAL_BACKGROUND=2 typeset -g POWERLEVEL9K_JAVA_VERSION_BACKGROUND=7 typeset -g POWERLEVEL9K_IP_INTERFACE='e.' typeset -g POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY=-1 typeset -g POWERLEVEL9K_PLENV_SHOW_SYSTEM=true typeset -g P9K_OS_ICON=$'\uf17a' typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}' typeset -g -a POWERLEVEL9K_HASKELL_STACK_SOURCES=( shell local ) typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=3 typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_VICMD_FOREGROUND=196 typeset -g -a POWERLEVEL9K_AWS_CLASSES=( '*' DEFAULT ) typeset -g POWERLEVEL9K_VI_COMMAND_MODE_STRING=NORMAL typeset -g POWERLEVEL9K_STATUS_EXTENDED_STATES=true typeset -g POWERLEVEL9K_JENV_PROMPT_ALWAYS_SHOW=false typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=250 CYGWIN_NT-10.0-WOW JeklahsLaptop 3.1.4(0.340/5/3) 2020-02-19 08:45 i686 Cygwin

branchCheck

romkatv commented 4 years ago

Nothing in the parameter dump stands out as a potential culprit. Try adding POWERLEVEL9K_WORKER_LOG_LEVEL=DEBUG to ~/.p10k.zsh and then checking if there is anything interesting in ${TMPDIR:-/tmp}/p10k.worker.$EUID.$$.*

romkatv commented 4 years ago

I took a closer look at this issue. Turns out Cygwin 32-bit is too broken to be usable.

This hangs:

() {
  emulate -L zsh
  local fd
  () { exec {fd}< $1 } <(:)
  =true
}

This hangs:

() {
  emulate -L zsh
  local fd
  zmodload zsh/system
  sysopen -r -u fd <(:)
  =true
}

This fails:

() {
  emulate -L zsh
  zmodload zsh/zselect
  local fd ready
  exec {fd}</dev/null
  { zselect -a ready $fd } always { exec {fd}>&- }
}

All of these code snippets are valid. They work everywhere except for 32-bit Cygwin. I've started adding workarounds in powerlevel10k to make it usable on 32-bit Cygwin but gave up. 32-bit Cygwin is just too broken.

Please try using anything except 32-bit Cygwin. 64-bit Cygwin is fine. So is everything else.

By the way, POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME=true didn't work for the same reason.