Closed romkatv closed 4 years ago
@psprint Please run the following command:
(
emulate -L zsh
setopt no_unset err_return
local tmp && tmp="$(mktemp -d ${TMPDIR:-/tmp}/p10k.XXXXXXXXXX)"
{
cd /
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $tmp
cat >$tmp/.zshrc <<\END
typeset -a POWERLEVEL9K_AWS_CLASSES=( '*' DEFAULT )
typeset -a POWERLEVEL9K_GOENV_SOURCES=( shell local global )
typeset -a POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES=( '*' DEFAULT )
typeset -a POWERLEVEL9K_JENV_SOURCES=( shell local global )
typeset -a POWERLEVEL9K_KUBECONTEXT_CLASSES=( '*' DEFAULT )
typeset -a POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon dir vcs newline prompt_char )
typeset -a POWERLEVEL9K_LUAENV_SOURCES=( shell local global )
typeset -a POWERLEVEL9K_PLENV_SOURCES=( shell local global )
typeset -a POWERLEVEL9K_PYENV_SOURCES=( shell local global )
typeset -a POWERLEVEL9K_RBENV_SOURCES=( shell local global )
typeset -a POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( status command_execution_time background_jobs direnv virtualenv anaconda pyenv goenv nodenv nvm nodeenv rbenv rvm fvm luaenv jenv plenv kubecontext terraform aws aws_eb_env azure gcloud google_app_cred context nordvpn ranger nnn vim_shell midnight_commander nix_shell load disk_usage todo timewarrior time newline ip )
typeset -a POWERLEVEL9K_TERRAFORM_CLASSES=( '*' DEFAULT )
typeset -a POWERLEVEL9K_VCS_BACKENDS=( git )
typeset POWERLEVEL9K_ANACONDA_FOREGROUND=37
typeset POWERLEVEL9K_ANACONDA_LEFT_DELIMITER=''
typeset POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER=''
typeset POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=false
typeset POWERLEVEL9K_AWS_DEFAULT_FOREGROUND=208
typeset POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=70
typeset POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws|awless|terraform|pulumi'
typeset POWERLEVEL9K_AZURE_FOREGROUND=32
typeset POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi'
typeset POWERLEVEL9K_BACKGROUND=''
typeset POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70
typeset POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false
typeset POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND=70
typeset POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND=70
typeset POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=178
typeset POWERLEVEL9K_BATTERY_LOW_FOREGROUND=160
typeset POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20
typeset POWERLEVEL9K_BATTERY_STAGES='\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578'
typeset POWERLEVEL9K_BATTERY_VERBOSE=false
typeset POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101
typeset POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s'
typeset POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0
typeset POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%ftook '
typeset POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=3
typeset POWERLEVEL9K_CONTEXT_DEFAULT_CONTENT_EXPANSION=''
typeset POWERLEVEL9K_CONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION=''
typeset POWERLEVEL9K_CONTEXT_FOREGROUND=180
typeset POWERLEVEL9K_CONTEXT_PREFIX='%fwith '
typeset POWERLEVEL9K_CONTEXT_REMOTE_FOREGROUND=180
typeset POWERLEVEL9K_CONTEXT_REMOTE_SUDO_FOREGROUND=180
typeset POWERLEVEL9K_CONTEXT_REMOTE_SUDO_TEMPLATE=%n@%m
typeset POWERLEVEL9K_CONTEXT_REMOTE_TEMPLATE=%n@%m
typeset POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=178
typeset POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE=%B%n@%m
typeset POWERLEVEL9K_CONTEXT_SUDO_CONTENT_EXPANSION=''
typeset POWERLEVEL9K_CONTEXT_SUDO_VISUAL_IDENTIFIER_EXPANSION=''
typeset POWERLEVEL9K_CONTEXT_TEMPLATE=%n@%m
typeset POWERLEVEL9K_DIR_ANCHOR_BOLD=true
typeset POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39
typeset POWERLEVEL9K_DIRENV_FOREGROUND=178
typeset POWERLEVEL9K_DIR_FOREGROUND=31
typeset POWERLEVEL9K_DIR_HYPERLINK=false
typeset POWERLEVEL9K_DIR_MAX_LENGTH=80
typeset POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS=40
typeset POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT=50
typeset POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=103
typeset POWERLEVEL9K_DIR_SHOW_WRITABLE=true
typeset POWERLEVEL9K_DISABLE_HOT_RELOAD=true
typeset POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=160
typeset POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95
typeset POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=35
typeset POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false
typeset POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=220
typeset POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90
typeset POWERLEVEL9K_DOTNET_VERSION_FOREGROUND=134
typeset POWERLEVEL9K_DOTNET_VERSION_PROJECT_ONLY=true
typeset POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}'
typeset POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='%{%}'
typeset POWERLEVEL9K_FVM_FOREGROUND=38
typeset POWERLEVEL9K_GCLOUD_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT//\%/%%}'
typeset POWERLEVEL9K_GCLOUD_FOREGROUND=32
typeset POWERLEVEL9K_GCLOUD_SHOW_ON_COMMAND='gcloud|gcs'
typeset POWERLEVEL9K_GOENV_FOREGROUND=37
typeset POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
typeset POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_CONTENT_EXPANSION='${P9K_GOOGLE_APP_CRED_PROJECT_ID//\%/%%}'
typeset POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=32
typeset POWERLEVEL9K_GOOGLE_APP_CRED_SHOW_ON_COMMAND='terraform|pulumi'
typeset POWERLEVEL9K_GO_VERSION_FOREGROUND=37
typeset POWERLEVEL9K_GO_VERSION_PROJECT_ONLY=true
typeset POWERLEVEL9K_ICON_BEFORE_CONTENT=true
typeset POWERLEVEL9K_INSTANT_PROMPT=quiet
typeset POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP %70F⇣$P9K_IP_RX_RATE %215F⇡$P9K_IP_TX_RATE'
typeset POWERLEVEL9K_IP_FOREGROUND=38
typeset POWERLEVEL9K_IP_INTERFACE='e.*'
typeset POWERLEVEL9K_JENV_FOREGROUND=32
typeset POWERLEVEL9K_JENV_PROMPT_ALWAYS_SHOW=false
typeset POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}${${:-/$P9K_KUBECONTEXT_NAMESPACE}:#/default}'
typeset POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134
typeset POWERLEVEL9K_KUBECONTEXT_PREFIX='%fat '
typeset POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc'
typeset POWERLEVEL9K_LEFT_LEFT_WHITESPACE=''
typeset POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL=' '
typeset POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=' '
typeset POWERLEVEL9K_LEFT_RIGHT_WHITESPACE=''
typeset POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR=''
typeset POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR=' '
typeset POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=166
typeset POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=66
typeset POWERLEVEL9K_LOAD_WARNING_FOREGROUND=178
typeset POWERLEVEL9K_LOAD_WHICH=5
typeset POWERLEVEL9K_LUAENV_FOREGROUND=32
typeset POWERLEVEL9K_LUAENV_PROMPT_ALWAYS_SHOW=false
typeset POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=178
typeset POWERLEVEL9K_MODE=nerdfont-complete
typeset POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=─
typeset POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=244
typeset POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=%244F╭─
typeset POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX=%244F─╮
typeset POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=%244F╰─
typeset POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX=%244F─╯
typeset POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX=%244F├─
typeset POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX=%244F─┤
typeset POWERLEVEL9K_NIX_SHELL_FOREGROUND=74
typeset POWERLEVEL9K_NNN_FOREGROUND=72
typeset POWERLEVEL9K_NODEENV_FOREGROUND=70
typeset POWERLEVEL9K_NODEENV_LEFT_DELIMITER=''
typeset POWERLEVEL9K_NODEENV_RIGHT_DELIMITER=''
typeset POWERLEVEL9K_NODEENV_SHOW_NODE_VERSION=false
typeset POWERLEVEL9K_NODENV_FOREGROUND=70
typeset POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false
typeset POWERLEVEL9K_NODE_VERSION_FOREGROUND=70
typeset POWERLEVEL9K_NODE_VERSION_PROJECT_ONLY=true
typeset POWERLEVEL9K_NORDVPN_CONNECTING_CONTENT_EXPANSION=''
typeset POWERLEVEL9K_NORDVPN_CONNECTING_VISUAL_IDENTIFIER_EXPANSION=''
typeset POWERLEVEL9K_NORDVPN_DISCONNECTED_CONTENT_EXPANSION=''
typeset POWERLEVEL9K_NORDVPN_DISCONNECTED_VISUAL_IDENTIFIER_EXPANSION=''
typeset POWERLEVEL9K_NORDVPN_DISCONNECTING_CONTENT_EXPANSION=''
typeset POWERLEVEL9K_NORDVPN_DISCONNECTING_VISUAL_IDENTIFIER_EXPANSION=''
typeset POWERLEVEL9K_NORDVPN_FOREGROUND=39
typeset POWERLEVEL9K_NVM_FOREGROUND=70
typeset POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='%B${P9K_CONTENT// }'
typeset POWERLEVEL9K_OS_ICON_FOREGROUND=''
typeset POWERLEVEL9K_PLENV_FOREGROUND=67
typeset POWERLEVEL9K_PLENV_PROMPT_ALWAYS_SHOW=false
typeset POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VICMD_CONTENT_EXPANSION=❮
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VICMD_FOREGROUND=196
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_CONTENT_EXPANSION=❯
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_FOREGROUND=196
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_CONTENT_EXPANSION=▶
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_FOREGROUND=196
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VIVIS_CONTENT_EXPANSION=Ⅴ
typeset POWERLEVEL9K_PROMPT_CHAR_ERROR_VIVIS_FOREGROUND=196
typeset POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL=''
typeset POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=''
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VICMD_CONTENT_EXPANSION=❮
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VICMD_FOREGROUND=76
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VIINS_CONTENT_EXPANSION=❯
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VIINS_FOREGROUND=76
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_CONTENT_EXPANSION=▶
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_FOREGROUND=76
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VIVIS_CONTENT_EXPANSION=Ⅴ
typeset POWERLEVEL9K_PROMPT_CHAR_OK_VIVIS_FOREGROUND=76
typeset POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true
typeset POWERLEVEL9K_PROXY_FOREGROUND=68
typeset POWERLEVEL9K_PUBLIC_IP_FOREGROUND=94
typeset POWERLEVEL9K_PYENV_FOREGROUND=37
typeset POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
typeset POWERLEVEL9K_RAM_FOREGROUND=66
typeset POWERLEVEL9K_RANGER_FOREGROUND=178
typeset POWERLEVEL9K_RBENV_FOREGROUND=168
typeset POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false
typeset POWERLEVEL9K_RIGHT_LEFT_WHITESPACE=''
typeset POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL=' '
typeset POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL=' '
typeset POWERLEVEL9K_RIGHT_RIGHT_WHITESPACE=''
typeset POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR=''
typeset POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR=' '
typeset POWERLEVEL9K_RULER_CHAR=─
typeset POWERLEVEL9K_RULER_FOREGROUND=244
typeset POWERLEVEL9K_RUST_VERSION_FOREGROUND=37
typeset POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true
typeset POWERLEVEL9K_RVM_FOREGROUND=168
typeset POWERLEVEL9K_RVM_SHOW_GEMSET=false
typeset POWERLEVEL9K_RVM_SHOW_PREFIX=false
typeset POWERLEVEL9K_SHORTEN_DELIMITER=''
typeset POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
typeset POWERLEVEL9K_SHORTEN_FOLDER_MARKER='(.bzr|.citc|.git|.hg|.node-version|.python-version|.ruby-version|.shorten_folder_marker|.svn|.terraform|CVS|Cargo.toml|composer.json|go.mod|package.json)'
typeset POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
typeset POWERLEVEL9K_SHOW_RULER=false
typeset POWERLEVEL9K_STATUS_ERROR=false
typeset POWERLEVEL9K_STATUS_ERROR_FOREGROUND=160
typeset POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=160
typeset POWERLEVEL9K_STATUS_ERROR_PIPE=true
typeset POWERLEVEL9K_STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION=✘
typeset POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=160
typeset POWERLEVEL9K_STATUS_ERROR_SIGNAL=true
typeset POWERLEVEL9K_STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION=✘
typeset POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION=✘
typeset POWERLEVEL9K_STATUS_EXTENDED_STATES=true
typeset POWERLEVEL9K_STATUS_OK=false
typeset POWERLEVEL9K_STATUS_OK_FOREGROUND=70
typeset POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=70
typeset POWERLEVEL9K_STATUS_OK_PIPE=true
typeset POWERLEVEL9K_STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION=✔
typeset POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION=✔
typeset POWERLEVEL9K_STATUS_VERBOSE_SIGNAME=false
typeset POWERLEVEL9K_SWAP_FOREGROUND=96
typeset POWERLEVEL9K_TERRAFORM_DEFAULT_FOREGROUND=38
typeset POWERLEVEL9K_TIME_FOREGROUND=66
typeset POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}'
typeset POWERLEVEL9K_TIME_PREFIX='%fat '
typeset POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
typeset POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}'
typeset POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110
typeset POWERLEVEL9K_TODO_FOREGROUND=110
typeset POWERLEVEL9K_TODO_HIDE_ZERO_FILTERED=false
typeset POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true
typeset POWERLEVEL9K_TRANSIENT_PROMPT=always
typeset POWERLEVEL9K_VCS_BRANCH_ICON=' '
typeset POWERLEVEL9K_VCS_CLEAN_FOREGROUND=76
typeset POWERLEVEL9K_VCS_COMMITS_AHEAD_MAX_NUM=-1
typeset POWERLEVEL9K_VCS_COMMITS_BEHIND_MAX_NUM=-1
typeset POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM=-1
typeset POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter(1)))+${my_git_format}}'
typeset POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
typeset POWERLEVEL9K_VCS_LOADING_CONTENT_EXPANSION='${$((my_git_formatter(0)))+${my_git_format}}'
typeset POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244
typeset POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=178
typeset POWERLEVEL9K_VCS_PREFIX='%fon '
typeset POWERLEVEL9K_VCS_STAGED_MAX_NUM=-1
typeset POWERLEVEL9K_VCS_UNSTAGED_MAX_NUM=-1
typeset POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=76
typeset POWERLEVEL9K_VCS_UNTRACKED_ICON='?'
typeset POWERLEVEL9K_VCS_UNTRACKED_MAX_NUM=-1
typeset POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76
typeset POWERLEVEL9K_VIM_SHELL_FOREGROUND=34
typeset POWERLEVEL9K_VIRTUALENV_FOREGROUND=37
typeset POWERLEVEL9K_VIRTUALENV_LEFT_DELIMITER=''
typeset POWERLEVEL9K_VIRTUALENV_RIGHT_DELIMITER=''
typeset POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
typeset POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER// }'
typeset POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=''
typeset POWERLEVEL9K_VPN_IP_FOREGROUND=81
typeset POWERLEVEL9K_VPN_IP_INTERFACE='(wg|(.*tun))[0-9]*'
typeset POWERLEVEL9K_WIFI_FOREGROUND=68
source $ZDOTDIR/powerlevel10k.zsh-theme
clear
uname -a
echo "ifconfig is ${(qqq)commands[ifconfig]}"
echo "ip is ${(qqq)commands[ip]}"
if [[ -x /sbin/ifconfig ]]; then
echo "/sbin/ifconfig exists"
/sbin/ifconfig
else
echo "no /sbin/ifconfig"
if [[ -x /sbin/ip ]]; then
echo "/sbin/ip exists"
/sbin/ip -4 a show
else
echo "no /sbin/ip"
if (( $+commands[ifconfig] )); then
ifconfig
elif (( $+commands[ip] )); then
ip -4 a show
fi
fi
fi
END
ZDOTDIR=$tmp zsh
} always {
rm -rf $tmp
}
)
When prompt appears, type typeset -pm 'P9K_IP_*'
, press ENTER, take a screenshot of your terminal and post it here. Make sure the terminal is tall enough so that the last prompt isn't at the very bottom of the screen.
Please copy-paste the full command.
Oh, you copy-pasted the full command but your system has no mktemp
? If this is the case, please substitute mktemp
call in the command for the equivalent on your system. Note that powerlevel10k will likely not work on your system.
Another possibility is that your current shell is broken. In this case I suggest to copy-paste the command into zsh -df
.
It was zplg-scheduler acting on chpwd hook, using an unset parameter. Got to make it nounset+errreturn proof.
Thanks for the logs.
On your system ifconfig
and ip
are in /bin
. I thought they can only be in /sbin
. I've submitted a fix so that both of these tools are looked up in PATH
. Please update powerlevel10k and try again.
Great! Thanks for the confirmation.
Yes, as I wrote in the deleted post, the update helped. Here is the screenshot again – this time with the IP smudged :)
192.168.0.0/16 is a private IP range. It cannot identify you.
Ah, right I didn't notice. Great, then no milk has been spilled :) And, of course, an obvious feature request appears – to query the public IP from some internet site and present that address :)
And, of course, an obvious feature request appears – to query the public IP from some internet site and present that address :)
That's what public_ip
segment does.
Ahso, great!
Reported in https://github.com/romkatv/powerlevel10k/issues/462#issuecomment-582566939.