CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 12:41:15 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"7a6905b42cd14b785801f6a39d38278a"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=yELPep8EdtsXEcJ%2B1sr7eJXOq1RT41SW%2FdYPOiLVdLJt%2FgNTvSO2AA2KDbdxxPLZPByEGarlRJwHU48YVg2zs7dkAdcmlDc8u5wu045jwgZ6Fp64aYhs5x7O35kIdVVSWtK5zs6AACVYX%2F5wrl4OqugAd0CFnLo5fnvMDuJJstvWjoCv5uRBiB%2BaSoS9KoiI4bvca3HA018YCZp6b1LYxXlQVWmpjsreHb4JR4N9tF4FYo2YlJXwYRP7snwYZCqSwDcDImHGph%2BM%2F28FNHyuHA%3D%3D--%2BMUJTIhosL9kIYzf--EOXvuvNrgg1HYV25Qw1Wrg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1136974793.1753965675; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 12:41:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 12:41:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D5BC:5A781:3E3A45:455135:688B646B
p10k-bar.zsh · GitHub
Show Gist options
Save romkatv/7f48d0deae7a3449f34a4870feaba0f5 to your computer and use it in GitHub Desktop.
{{ message }}
Instantly share code, notes, and snippets.
Created
September 23, 2019 12:08
-
Star
0
(0)
You must be signed in to star a gist -
Fork
1
(1)
You must be signed in to fork a gist
-
Save romkatv/7f48d0deae7a3449f34a4870feaba0f5 to your computer and use it in GitHub Desktop.
p10k-bar.zsh
This file contains hidden or 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
# Config for Powerlevel10k ZSH theme (https://github.com/romkatv/powerlevel10k/) that emulates | |
# the appearance of Bar ZSH theme (https://github.com/anki-code/zsh-bar-theme). | |
() { | |
emulate -L zsh | |
setopt no_unset | |
# Unset all configuration options. | |
unset -m 'POWERLEVEL9K_*' | |
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( | |
context # user@host | |
dir # current directory | |
newline # \n | |
prompt_char # prompt symbol | |
) | |
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( | |
vcs # git status | |
anaconda # conda environment (https://conda.io/) | |
time # current time | |
) | |
# Default light grey background. | |
typeset -g POWERLEVEL9K_BACKGROUND=234 | |
# No spaces around segments. | |
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE= | |
# Separate segments with a grey space. | |
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{,SUB}SEGMENT_SEPARATOR='%K{234} ' | |
# No left prompt terminator. | |
typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL= | |
# No right prompt terminator. | |
typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL= | |
# Disable all segment icons. | |
typeset -g POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION= | |
# Add an empty line before each prompt. | |
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
# Fill the gap between the left and right prompt on the first line with grey spaces. | |
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' ' | |
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_BACKGROUND=234 | |
# Grey user@host. | |
typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=244 | |
typeset -g POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true | |
# White current directory. | |
typeset -g POWERLEVEL9K_DIR_FOREGROUND=253 | |
# Conda environment: white text on light grey background. | |
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=254 | |
typeset -g POWERLEVEL9K_ANACONDA_BACKGROUND=236 | |
# Surround conda environment with spaces. | |
typeset -g POWERLEVEL9K_ANACONDA_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE=' ' | |
# Don't show Python version next to the conda environment name. | |
typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=false | |
# Don't bracket conda environment. | |
typeset -g POWERLEVEL9K_ANACONDA_{LEFT,RIGHT}_DELIMITER= | |
# Git status: white text on light grey background. | |
typeset -g POWERLEVEL9K_VCS_FOREGROUND=250 | |
typeset -g POWERLEVEL9K_VCS_BACKGROUND=236 | |
# Git status format: 'master!'. The exclamation mark means the repo is dirty. | |
local vcs= | |
# 'master' or '@72f5c8a' if not on a branch. | |
vcs+='${${VCS_STATUS_LOCAL_BRANCH//\%/%%}:-@${VCS_STATUS_COMMIT:0:8}}' | |
# '!' if dirty. | |
vcs+='${${${:-$VCS_STATUS_HAS_STAGED$VCS_STATUS_HAS_UNSTAGED$VCS_STATUS_HAS_UNTRACKED}:#000}:+%1F!}' | |
# Disable the default Git status formatting. | |
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true | |
# Install our own Git status formatter. Keep $P9K_CONTENT if it's not empty -- it's "loading". | |
typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION="\${P9K_CONTENT:-$vcs}" | |
# Surround Git status with spaces. | |
typeset -g POWERLEVEL9K_VCS_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE=' ' | |
# Grey current time. | |
typeset -g POWERLEVEL9K_TIME_FOREGROUND=244 | |
# Current time format: 2019-09-24 09:51:02+0200. See `man 3 strftime`. | |
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%F %H:%M:%S%z}' | |
# Prompt symbol: bright white '#' (root) or regular '$' (non-root) on transparent background. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_CONTENT_EXPANSION='%(#.%255F#.%250F\$)' | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_BACKGROUND= | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can’t perform that action at this time.