[bug] nospace doesn't work for {{ .BranchStatus }}
#6865
Answered
by
JanDeDobbeleer
AtifChy
asked this question in
Troubleshoot
-
Code of Conduct
What happened?
I am trying to do something like this, trying to remove space in between status elements. I get something like this instead. Using Theme# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version: 3
final_space: true
shell_integration: true
async: true
upgrade:
auto: false
notice: false
# transient_prompt:
# background: transparent
# template: "➜ "
# foreground: green
# foreground_templates:
# - "{{ if gt .Code 0 }}red{{ end }}"
blocks:
- type: prompt
alignment: left
segments:
- type: session
style: plain
foreground: white
template: "{{ if .Root }}<red></> {{end}}{{ if .SSHSession }} <b><cyan>{{ .UserName }}@{{ .HostName }}</> in {{ end }}"
- type: path
style: plain
template: " <b>{{ .Path }}</b> "
foreground_templates:
- "{{ if not .Writable }}red{{ else }}blue{{ end }}"
properties:
folder_icon: …
max_depth: 3
style: agnoster_short
windows_registry_icon: " "
- type: git
style: plain
foreground: white
template:
"on <b><magenta>{{ .HEAD }} </>{{ if .Working }}<b><black>[{{ end }}\
<cyan>\
{{ if .BranchStatus }}{{ nospace .BranchStatus }}{{ end }}</>\
{{ if .Working.Changed }} <red>{{ nospace .Working.String }}</>{{ end }}\
{{ if .Staging.Changed }} <green>{{ nospace .Staging.String }}</>{{ end }}\
{{ if gt .StashCount 0 }} <yellow>${{ .StashCount }}</>{{ end }}\
{{ if .Working }}]</>{{ end }} "
properties:
fetch_stash_count: true
fetch_status: true
fetch_upstream_icon: true
branch_icon: " "
cherry_pick_icon: " "
commit_icon: " "
merge_icon: " "
no_commit_icon: " "
rebase_icon: " "
revert_icon: " "
tag_icon: " "
mapped_branches:
feat: &feat_icon " "
bug: &bug_icon " "
feature/*: *feat_icon
feat/*: *feat_icon
bug/*: *bug_icon
fix/*: *bug_icon
refactor/*: " "
- type: go
style: plain
foreground: white
template: "{{ if .Full }}via <lightCyan> <b>{{ .Full }}</b></> {{ end }}"
- type: node
style: plain
foreground: white
template: "{{ if .Full }}via <green> <b>{{ .Full }}</b></> {{ end }}"
- type: python
style: plain
foreground: white
template: "{{ if .Full }}via <lightYellow> <b>{{ .Full }}</b></> {{ end }}"
- type: rust
style: plain
foreground: white
template: "{{ if .Full }}via <lightRed> <b>{{ .Full }}</b></> {{ end }}"
- type: lua
style: plain
foreground: white
template: "{{ if .Full }}via <lightBlue> <b>{{ .Full }}</b></> {{ end }}"
- type: executiontime
style: plain
foreground: white
template: "took <b><yellow>{{ nospace .FormattedMs }}</> "
properties:
style: round
threshold: 5000
- type: status
style: plain
foreground: red
template: "{{ if eq .Code 0 }}✔{{ else }} {{ reason .Code }}{{ end }}"
- type: prompt
alignment: right
overflow: hide
segments:
- type: text
style: plain
foreground: cyan
template: " <b>{{ .Shell }}</b>"
- type: prompt
alignment: left
newline: true
segments:
- type: status
style: powerline
foreground: green
template: ➜
properties:
always_enabled: true
foreground_templates:
- "{{ if gt .Code 0 }}red{{ end }}"What OS are you seeing the problem on?Windows Which shell are you using?nu Log outputVersion: 27.1.0
Shell: shell (0.107.0)
Prompt:
�]133;D;0��]133;A� ~\Desktop\nvim-plugins\sidekick.nvim on main [�1�3] shell
➜ �]133;B�
Segments:
ConsoleTitle(false) - 0 ms
Session(false) - 0 ms
Path(true) - 2 ms
Git(true) - 121 ms
Go(false) - 1 ms
Node(false) - 0 ms
Python(false) - 5 ms
Rust(false) - 0 ms
Lua(false) - 16 ms
Executiontime(false) - 0 ms
Status(false) - 1 ms
Text(true) - 0 ms
Status(true) - 0 ms
Run duration: 125.6032ms
Cache path: C:\Users\Atif\AppData\Local\oh-my-posh
Config path: C:\Users\Atif\.config\oh-my-posh\mytheme.omp.yaml
Logs:
[DEBUG] 18:13:45.009 debug.go:39 → logging enabled, raw mode: true
[DEBUG] 18:13:45.009 store.go:]:137 → (session) key not found: prompt_count_cache
[TRACE] 18:13:45.009 store.go:](session prompt_count_cache) - 0s
[TRACE] 18:13:45.009 terminal.go:setPromptCount() - 0s
[TRACE] 18:13:45.009 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.009 terminal.go:setPwd:102 → C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim
[TRACE] 18:13:45.009 terminal.go:setPwd() - 0s
[TRACE] 18:13:45.009 terminal.go:Init() - 0s
[TRACE] 18:13:45.009 init.go:SessionID() - 0s
[DEBUG] 18:13:45.009 path_windows.go:PackageFamilyName:44 → failed to get PackageFamilyName
[TRACE] 18:13:45.009 path_windows.go:PackageFamilyName() - 0s
[TRACE] 18:13:45.009 path.go:Path() - 0s
[DEBUG] 18:13:45.010 store.go:init:94 → (session) loading prompt_count_cache
[DEBUG] 18:13:45.010 store.go:init:94 → (session) loading CONFIG_SOURCE
[DEBUG] 18:13:45.010 store.go:init:94 → (session) loading toggle_cache
[DEBUG] 18:13:45.010 store.go:init:94 → (session) loading CONFIG
[TRACE] 18:13:45.010 store.go:init(session nu.552509b0-875f-4ff0-aabc-068b13e4a453.omp.cache) - 525.2µs
[TRACE] 18:13:45.010 path.go:Path() - 0s
[DEBUG] 18:13:45.010 store.go:init:94 → (device) loading INITVERSIONNU
[DEBUG] 18:13:45.010 store.go:init:94 → (device) loading INITVERSIONPWSH
[DEBUG] 18:13:45.010 store.go:init:94 → (device) loading DSC_SHELL
[DEBUG] 18:13:45.010 store.go:init:94 → (device) loading NUAUTOLOADDIR
[DEBUG] 18:13:45.010 store.go:init:94 → (device) loading DSC_CONFIGURATION
[DEBUG] 18:13:45.010 store.go:init:94 → (device) loading INITVERSIONCMD
[TRACE] 18:13:45.010 store.go:init(device omp.cache) - 522.2µs
[DEBUG] 18:13:45.010 store.go:]:137 → (device) key not found: reload
[TRACE] 18:13:45.010 store.go:](device reload) - 0s
[DEBUG] 18:13:45.010 store.go:]:150 → (session) found entry: CONFIG - /gH5fwMBAQZDb25maWcB/4AAAR8BB1BhbGV0dGUB/4IAAQtEZWJ1Z1Byb21wdAH/hAABA1ZhcgH/jgABCFBhbGV0dGVzAf+QAAEJVmFsaWRMaW5lA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0s
[TRACE] 18:13:45.010 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.010 store.go:]:137 → (session) key not found: template_cache
[TRACE] 18:13:45.010 store.go:](session template_cache) - 0s
[TRACE] 18:13:45.010 cache.go:restoreCache() - 0s
[TRACE] 18:13:45.010 terminal_windows.go:Root() - 0s
[TRACE] 18:13:45.010 terminal.go:Shell() - 0s
[TRACE] 18:13:45.010 terminal.go:Flags() - 0s
[TRACE] 18:13:45.010 terminal.go:StatusCodes() - 0s
[TRACE] 18:13:45.010 terminal_windows.go:IsWsl() - 0s
[TRACE] 18:13:45.010 terminal.go:Flags() - 0s
[TRACE] 18:13:45.010 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.010 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.010 terminal_windows.go:IsWsl() - 0s
[TRACE] 18:13:45.010 terminal.go:Flags() - 0s
[TRACE] 18:13:45.010 terminal.go:Flags() - 0s
[TRACE] 18:13:45.010 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.010 terminal.go:User:236 → Atif
[TRACE] 18:13:45.010 terminal.go:User() - 0s
[DEBUG] 18:13:45.010 terminal.go:Host:253 → legion-pc
[TRACE] 18:13:45.010 terminal.go:Host() - 0s
[TRACE] 18:13:45.010 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.010 terminal.go:Getenv:64 → 1
[TRACE] 18:13:45.010 terminal.go:Getenv(SHLVL) - 0s
[DEBUG] 18:13:45.010 writer.go:Init:107 → terminal program: WezTerm
[DEBUG] 18:13:45.010 writer.go:Init:108 → terminal shell: shell
[DEBUG] 18:13:45.010 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.010 terminal.go:Getenv(OMP_CACHE_DISABLED) - 0s
[DEBUG] 18:13:45.010 store.go:]:137 → (device) key not found: accent_color
[TRACE] 18:13:45.010 store.go:](device accent_color) - 0s
[DEBUG] 18:13:45.010 terminal_windows.go:WindowsRegistryKeyValue:198 → ColorizationColor(DWORD): 0xC40078D4
[TRACE] 18:13:45.010 terminal_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 18:13:45.010 colors_windows.go:GetAccentColor() - 0s
[TRACE] 18:13:45.010 colors.go:SetAccentColor() - 0s
[TRACE] 18:13:45.010 terminal.go:Shell() - 0s
[DEBUG] 18:13:45.010 terminal.go:Getenv:64 → 0.107.0
[TRACE] 18:13:45.010 terminal.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 18:13:45.011 debug.go:PrintDebug:24 → segment: Title
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[TRACE] 18:13:45.011 terminal.go:StatusCodes() - 0s
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.011 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.011 terminal.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 18:13:45.011 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.011 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.011 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.011 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.011 segment.go:Execute:109 → segment: Status
[DEBUG] 18:13:45.011 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.011 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.011 segment.go:Execute:109 → segment: Session
[DEBUG] 18:13:45.011 store.go:]:150 → (session) found entry: toggle_cache - map[]
[DEBUG] 18:13:45.011 store.go:]:150 → (session) found entry: toggle_cache - map[]
[TRACE] 18:13:45.011 store.go:](session toggle_cache) - 0s
[TRACE] 18:13:45.011 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.011 segment.go:isToggled:230 → no toggles found
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.011 segment.go:isToggled:230 → no toggles found
[DEBUG] 18:13:45.011 properties.go:GetString:46 → status_template: {{ .Code }}
[DEBUG] 18:13:45.011 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.011 terminal.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 18:13:45.011 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.011 terminal.go:Getenv(SSH_CLIENT) - 0s
[DEBUG] 18:13:45.011 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.011 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.011 segment.go:Execute:109 → segment: Go
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.011 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.011 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.011 store.go:]:150 → (session) found entry: toggle_cache - map[]
[DEBUG] 18:13:45.011 segment.go:Execute:109 → segment: Node
[TRACE] 18:13:45.011 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.011 store.go:]:150 → (session) found entry: toggle_cache - map[]
[TRACE] 18:13:45.011 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.011 segment.go:isToggled:230 → no toggles found
[DEBUG] 18:13:45.011 segment.go:isToggled:230 → no toggles found
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.011 properties.go:GetStringArray:70 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 18:13:45.011 properties.go:GetStringArray:70 → folders: []
[DEBUG] 18:13:45.011 text.go:patchTemplate:149 → {{ if .Root }}<red></> {{end}}{{ if .Data.SSHSession }} <b><cyan>{{ .UserName }}@{{ .HostName }}</> in {{ end }}
[DEBUG] 18:13:45.011 properties.go:GetBool:40 → home_enabled: false
[DEBUG] 18:13:45.011 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.011 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.011 properties.go:GetStringArray:70 → extensions: [*.go go.mod go.sum go.work go.work.sum]
[DEBUG] 18:13:45.011 properties.go:GetString:46 → display_mode: files
[TRACE] 18:13:45.011 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.011 properties.go:GetStringArray:70 → folders: []
[DEBUG] 18:13:45.011 segment.go:Execute:109 → segment: Path
[DEBUG] 18:13:45.011 properties.go:GetBool:40 → fetch_package_manager: false
[DEBUG] 18:13:45.011 properties.go:GetBool:40 → home_enabled: false
[DEBUG] 18:13:45.011 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.011 store.go:]:150 → (session) found entry: toggle_cache - map[]
[DEBUG] 18:13:45.011 properties.go:GetString:46 → display_mode: files
[TRACE] 18:13:45.011 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.011 segment.go:isToggled:230 → no toggles found
[DEBUG] 18:13:45.011 properties.go:GetBool:40 → display_cygpath: false
[TRACE] 18:13:45.011 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.011 separator.go:Separator() - 0s
[TRACE] 18:13:45.011 terminal.go:Shell() - 0s
[TRACE] 18:13:45.011 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.011 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.012 properties.go:GetBool:40 → mapped_locations_enabled: true
[DEBUG] 18:13:45.012 properties.go:GetString:46 → windows_registry_icon:
[DEBUG] 18:13:45.012 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.012 properties.go:GetString:46 → windows_registry_icon:
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.012 terminal.go:HasFilesInDir:151 → false
[DEBUG] 18:13:45.012 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.012 terminal.go:HasFilesInDir(*.js) - 524.6µs
[DEBUG] 18:13:45.012 segment.go:Execute:109 → segment: Git
[TRACE] 18:13:45.012 terminal.go:Flags() - 0s
[TRACE] 18:13:45.012 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.012 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.012 terminal.go:HasFilesInDir(*.rockspec) - 526.7µs
[DEBUG] 18:13:45.012 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.012 terminal.go:HasFilesInDir(go.work) - 0s
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.012 terminal.go:HasFilesInDir:151 → false
[DEBUG] 18:13:45.012 segment.go:Execute:109 → segment: Python
[TRACE] 18:13:45.012 terminal.go:HasFilesInDir(go.work.sum) - 0s
[DEBUG] 18:13:45.012 store.go:]:150 → (session) found entry: toggle_cache - map[]
[TRACE] 18:13:45.012 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.012 segment.go:isToggled:230 → no toggles found
[DEBUG] 18:13:45.012 properties.go:GetString:46 → display_mode: environment
[DEBUG] 18:13:45.012 properties.go:GetStringArray:70 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 18:13:45.012 properties.go:GetStringArray:70 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 18:13:45.012 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.012 properties.go:GetBool:40 → home_enabled: false
[DEBUG] 18:13:45.012 segment.go:isToggled:230 → no toggles found
[TRACE] 18:13:45.012 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.012 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.012 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.012 properties.go:GetBool:40 → disable_with_jj: false
[DEBUG] 18:13:45.012 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.012 properties.go:GetBool:40 → fetch_virtual_env: true
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.012 segment.go:Execute:109 → segment: Rust
[DEBUG] 18:13:45.012 segment.go:Execute:109 → segment: Executiontime
[DEBUG] 18:13:45.012 store.go:]:150 → (session) found entry: toggle_cache - map[]
[DEBUG] 18:13:45.012 store.go:]:150 → (session) found entry: toggle_cache - map[]
[TRACE] 18:13:45.012 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.012 segment.go:isToggled:230 → no toggles found
[TRACE] 18:13:45.012 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.012 segment.go:isToggled:230 → no toggles found
[DEBUG] 18:13:45.012 properties.go:GetStringArray:70 → extensions: [*.rs Cargo.toml Cargo.lock]
[DEBUG] 18:13:45.012 properties.go:GetStringArray:70 → folders: []
[DEBUG] 18:13:45.012 properties.go:GetBool:40 → home_enabled: false
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.012 properties.go:GetString:46 → home_icon: ~
[DEBUG] 18:13:45.012 home.go:12 → C:\Users\Atif
[DEBUG] 18:13:45.012 properties.go:GetString:46 → display_mode: files
[DEBUG] 18:13:45.012 properties.go:GetKeyValueMap:64 → mapped_locations: map[]
[DEBUG] 18:13:45.012 properties.go:GetBool:40 → always_enabled: false
[DEBUG] 18:13:45.012 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.012 terminal.go:HasFilesInDir(*.rs) - 0s
[TRACE] 18:13:45.012 separator.go:Separator() - 0s
[DEBUG] 18:13:45.012 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.012 properties.go:GetFloat64:52 → threshold: 5000.000000
[TRACE] 18:13:45.012 terminal.go:HasFilesInDir(Cargo.toml) - 0s
[TRACE] 18:13:45.012 separator.go:Separator() - 0s
[DEBUG] 18:13:45.012 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.012 terminal.go:HasFilesInDir(Cargo.lock) - 0s
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.012 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.013 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.013 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.013 terminal.go:HasFolder:184 → true
[TRACE] 18:13:45.013 terminal.go:HasFolder(lua) - 539.6µs
[DEBUG] 18:13:45.013 properties.go:GetBool:40 → fetch_version: true
[DEBUG] 18:13:45.013 properties.go:GetString:46 → gitdir_format:
[DEBUG] 18:13:45.013 properties.go:GetString:46 → style: agnoster_short
[DEBUG] 18:13:45.013 store.go:]:137 → (device) key not found: version_lua
[DEBUG] 18:13:45.013 properties.go:GetBool:40 → display_root: false
[DEBUG] 18:13:45.013 properties.go:GetInt:58 → max_depth: 3
[DEBUG] 18:13:45.013 properties.go:GetBool:40 → hide_root_location: false
[DEBUG] 18:13:45.013 properties.go:GetString:46 → folder_icon: …
[DEBUG] 18:13:45.013 properties.go:GetBool:40 → display_root: false
[DEBUG] 18:13:45.013 properties.go:GetStringArray:70 → cycle: []
[DEBUG] 18:13:45.013 properties.go:GetString:46 → folder_separator_template:
[DEBUG] 18:13:45.013 properties.go:GetString:46 → folder_separator_icon: \
[DEBUG] 18:13:45.013 properties.go:GetBool:40 → cycle_folder_separator: false
[DEBUG] 18:13:45.013 properties.go:GetString:46 → folder_format: %s
[DEBUG] 18:13:45.013 properties.go:GetString:46 → edge_format: %s
[DEBUG] 18:13:45.013 properties.go:GetString:46 → left_format: %s
[DEBUG] 18:13:45.013 properties.go:GetString:46 → right_format: %s
[TRACE] 18:13:45.013 terminal.go:Flags() - 0s
[TRACE] 18:13:45.013 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.013 terminal.go:StackCount() - 0s
[DEBUG] 18:13:45.013 properties.go:GetBool:40 → always_enabled: false
[DEBUG] 18:13:45.013 terminal.go:ResolveSymlink:195 → C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim
[TRACE] 18:13:45.013 terminal.go:ResolveSymlink(C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim) - 539.6µs
[TRACE] 18:13:45.013 terminal.go:HasParentFilePath(.git) - 539.6µs
[DEBUG] 18:13:45.013 properties.go:GetBool:40 → fetch_bare_info: false
[TRACE] 18:13:45.013 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.013 win32_windows.go:isWriteable:259 → not current user or in group
[DEBUG] 18:13:45.013 win32_windows.go:isWriteable:263 → current user is member of S-1-5-32-544
[DEBUG] 18:13:45.013 win32_windows.go:isWriteable:271 ↓
WRITE_DAC
WRITE_OWNER
SYNCHRONIZE
DELETE
READ_CONTROL
[DEBUG] 18:13:45.013 win32_windows.go:isWriteable:273 → user has write access
[TRACE] 18:13:45.013 terminal_windows.go:DirIsWritable() - 519.8µs
[DEBUG] 18:13:45.013 text.go:patchTemplate:149 → <b>{{ .Data.Path }}</b>
[DEBUG] 18:13:45.013 text.go:patchTemplate:149 → {{ if not .Data.Writable }}red{{ else }}blue{{ end }}
[DEBUG] 18:13:45.013 text.go:patchTemplate:149 → {{ if not .Data.Writable }}red{{ else }}blue{{ end }}
[DEBUG] 18:13:45.017 terminal.go:CommandPath:304 → C:\Users\Atif\scoop\apps\python\current\python.exe
[TRACE] 18:13:45.017 terminal.go:CommandPath(python) - 5.2427ms
[DEBUG] 18:13:45.017 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.017 terminal.go:HasFilesInDir(pyvenv.cfg) - 0s
[DEBUG] 18:13:45.017 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.017 terminal.go:HasFilesInDir(pyvenv.cfg) - 0s
[DEBUG] 18:13:45.017 properties.go:GetBool:40 → folder_name_fallback: true
[DEBUG] 18:13:45.017 properties.go:GetStringArray:70 → default_venv_names: [.venv venv]
[DEBUG] 18:13:45.017 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.017 terminal.go:Getenv(VIRTUAL_ENV) - 0s
[DEBUG] 18:13:45.017 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.017 terminal.go:Getenv(CONDA_ENV_PATH) - 0s
[DEBUG] 18:13:45.017 terminal.go:Getenv:64 → NO DATA
[TRACE] 18:13:45.017 terminal.go:Getenv(CONDA_DEFAULT_ENV) - 0s
[DEBUG] 18:13:45.019 terminal.go:CommandPath:304 → C:\Users\Atif\scoop\shims\git.exe
[TRACE] 18:13:45.019 terminal.go:CommandPath(git.exe) - 6.2692ms
[TRACE] 18:13:45.019 terminal.go:HasCommand(git.exe) - 6.2692ms
[DEBUG] 18:13:45.019 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.019 terminal.go:GOOS() - 0s
[TRACE] 18:13:45.019 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.019 properties.go:GetBool:40 → fetch_user: false
[DEBUG] 18:13:45.019 properties.go:GetString:46 → source: cli
[DEBUG] 18:13:45.019 properties.go:GetBool:40 → fetch_status: true
[DEBUG] 18:13:45.019 properties.go:GetStringArray:70 → ignore_status: []
[DEBUG] 18:13:45.019 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.019 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.019 properties.go:GetKeyValueMap:64 → status_formats: map[]
[DEBUG] 18:13:45.019 properties.go:GetKeyValueMap:64 → untracked_modes: map[]
[DEBUG] 18:13:45.019 properties.go:GetKeyValueMap:64 → ignore_submodules: map[]
[ERROR] 18:13:45.021 terminal.go:CommandPath:308 → exec: "lua": executable file not found in %PATH%
[TRACE] 18:13:45.021 terminal.go:CommandPath(lua) - 8.391ms
[TRACE] 18:13:45.021 terminal.go:HasCommand(lua) - 8.391ms
[ERROR] 18:13:45.021 language.go:setVersion:212 → NO VERSION
[ERROR] 18:13:45.028 terminal.go:CommandPath:308 → exec: "luajit": executable file not found in %PATH%
[TRACE] 18:13:45.028 terminal.go:CommandPath(luajit) - 7.2838ms
[TRACE] 18:13:45.028 terminal.go:HasCommand(luajit) - 7.2838ms
[ERROR] 18:13:45.028 language.go:setVersion:212 → NO VERSION
[DEBUG] 18:13:45.084 terminal.go:RunCommand:280 ↓
# branch.oid 97b3c4674744613f895dc39a27d5e80dcb525899
# branch.head main
# branch.upstream origin/main
# branch.ab +1 -3
[TRACE] 18:13:45.084 terminal.go:RunCommand(git.exe -C C:/Users/Atif/Desktop/nvim-plugins/sidekick.nvim --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 65.5739ms
[DEBUG] 18:13:45.084 properties.go:GetString:46 → branch_icon:
[DEBUG] 18:13:45.084 properties.go:GetKeyValueMap:64 → mapped_branches: map[bug: bug/*: feat: feat/*: feature/*: fix/*: refactor/*: ]
[DEBUG] 18:13:45.084 properties.go:GetString:46 → branch_template:
[DEBUG] 18:13:45.084 terminal.go:HasFolder:180 → false
[TRACE] 18:13:45.084 terminal.go:HasFolder(C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim\.git/rebase-merge) - 0s
[DEBUG] 18:13:45.084 terminal.go:HasFolder:180 → false
[TRACE] 18:13:45.084 terminal.go:HasFolder(C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim\.git/rebase-apply) - 0s
[DEBUG] 18:13:45.084 properties.go:GetString:46 → commit_icon:
[DEBUG] 18:13:45.084 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.084 terminal.go:HasFilesInDir(MERGE_MSG) - 0s
[DEBUG] 18:13:45.084 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.084 terminal.go:HasFilesInDir(CHERRY_PICK_HEAD) - 0s
[DEBUG] 18:13:45.084 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.084 terminal.go:HasFilesInDir(REVERT_HEAD) - 0s
[DEBUG] 18:13:45.084 terminal.go:HasFilesInDir:151 → false
[TRACE] 18:13:45.084 terminal.go:HasFilesInDir(sequencer/todo) - 0s
[DEBUG] 18:13:45.085 properties.go:GetString:46 → branch_ahead_icon: ↑
[DEBUG] 18:13:45.085 properties.go:GetString:46 → branch_behind_icon: ↓
[DEBUG] 18:13:45.085 properties.go:GetBool:40 → fetch_push_status: false
[DEBUG] 18:13:45.085 properties.go:GetBool:40 → fetch_upstream_icon: true
[DEBUG] 18:13:45.085 terminal.go:FileContent:212 ↓
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = [email protected]:folke/sidekick.nvim.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/main
[TRACE] 18:13:45.086 terminal.go:FileContent(C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim\.git/config) - 515.9µs
[DEBUG] 18:13:45.133 terminal.go:RunCommand:280 → [email protected]:folke/sidekick.nvim.git
[TRACE] 18:13:45.133 terminal.go:RunCommand(git.exe -C C:/Users/Atif/Desktop/nvim-plugins/sidekick.nvim --no-optional-locks -c core.quotepath=false -c color.status=false remote get-url origin) - 47.3729ms
[DEBUG] 18:13:45.133 properties.go:GetKeyValueMap:64 → upstream_icons: map[]
[DEBUG] 18:13:45.133 properties.go:GetString:46 → github_icon:
[DEBUG] 18:13:45.133 text.go:patchTemplate:149 → on <b><magenta>{{ .Data.HEAD }} </>{{ if .Data.Working }}<b><black>[{{ end }}<cyan>{{ if .Data.BranchStatus }}{{ nospace .Data.BranchStatus }}{{ end }}</>{{ if .Data.Working.Changed }} <red>{{ nospace .Data.Working.String }}</>{{ end }}{{ if .Data.Staging.Changed }} <green>{{ nospace .Data.Staging.String }}</>{{ end }}{{ if gt .Data.StashCount 0 }} <yellow>${{ .Data.StashCount }}</>{{ end }}{{ if .Data.Working }}]</>{{ end }}
[ERROR] 18:13:45.134 terminal.go:FileContent:207 → open C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim\.git/logs/refs/stash: The system cannot find the file specified.
[TRACE] 18:13:45.134 terminal.go:FileContent(C:\Users\Atif\Desktop\nvim-plugins\sidekick.nvim\.git/logs/refs/stash) - 517.4µs
[DEBUG] 18:13:45.134 text.go:patchTemplate:149 → {{ if .Data.Full }}via <lightBlue> <b>{{ .Data.Full }}</b></> {{ end }}
[TRACE] 18:13:45.134 terminal.go:Shell() - 0s
[TRACE] 18:13:45.134 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.134 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.134 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.134 segment.go:Execute:109 → segment: Text
[DEBUG] 18:13:45.134 store.go:]:150 → (session) found entry: toggle_cache - map[]
[TRACE] 18:13:45.134 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.134 segment.go:isToggled:230 → no toggles found
[DEBUG] 18:13:45.134 text.go:patchTemplate:149 → <b>{{ .Shell }}</b>
[DEBUG] 18:13:45.134 terminal_windows.go:TerminalWidth:99 → terminal width: 171
[TRACE] 18:13:45.134 terminal_windows.go:TerminalWidth() - 0s
[DEBUG] 18:13:45.134 engine.go:shouldFill:156 → no filler specified
[TRACE] 18:13:45.134 terminal.go:Shell() - 0s
[TRACE] 18:13:45.134 terminal.go:Flags() - 0s
[DEBUG] 18:13:45.134 home.go:12 → C:\Users\Atif
[TRACE] 18:13:45.134 terminal.go:GOOS() - 0s
[DEBUG] 18:13:45.134 segment.go:Execute:109 → segment: Status
[DEBUG] 18:13:45.134 store.go:]:150 → (session) found entry: toggle_cache - map[]
[TRACE] 18:13:45.134 store.go:](session toggle_cache) - 0s
[DEBUG] 18:13:45.134 segment.go:isToggled:230 → no toggles found
[TRACE] 18:13:45.134 terminal.go:StatusCodes() - 0s
[DEBUG] 18:13:45.134 properties.go:GetString:46 → status_template: {{ .Code }}
[DEBUG] 18:13:45.134 text.go:patchTemplate:149 → {{ .Code }}
[DEBUG] 18:13:45.134 properties.go:GetBool:40 → always_enabled: true
[DEBUG] 18:13:45.134 text.go:patchTemplate:149 → {{ if gt .Code 0 }}red{{ end }}
[DEBUG] 18:13:45.134 text.go:patchTemplate:149 → {{ if gt .Code 0 }}red{{ end }}
[TRACE] 18:13:45.134 terminal.go:Shell() - 0s
[TRACE] 18:13:45.134 terminal.go:Shell() - 0s
[TRACE] 18:13:45.134 path.go:Path() - 0s |
Beta Was this translation helpful? Give feedback.
Answered by
JanDeDobbeleer
Oct 6, 2025
Replies: 1 comment
-
|
@AtifChy nospace uses this function under the hood which then highly likely ruins that glyphs (for some reason, it's still correct). I also can't reproduce this on my machine, it correctly removes all spaces. The easiest fix for this is to use template:
"on <b><magenta>{{ .HEAD }} </>{{ if .Working }}<b><black>[{{ end }}\
<cyan>\
{{ if .BranchStatus }}{{ .BranchStatus | replace " " "" }}{{ end }}</>\
{{ if .Working.Changed }} <red>{{ .Working.String | replace " " "" }}</>{{ end }}\
{{ if .Staging.Changed }} <green>{{ .Staging.String | replace " " "" }}</>{{ end }}\
{{ if gt .StashCount 0 }} <yellow>${{ .StashCount }}</>{{ end }}\
{{ if .Working }}]</>{{ end }} " |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AtifChy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AtifChy nospace uses this function under the hood which then highly likely ruins that glyphs (for some reason, it's still correct). I also can't reproduce this on my machine, it correctly removes all spaces. The easiest fix for this is to use
replace.