JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.38k stars 2.38k forks source link

THEME Not Saving when changing Theme #4380

Closed ANAKARABILAL closed 1 year ago

ANAKARABILAL commented 1 year ago

Code of Conduct

What happened?

I don't think its really a bug but when I execute the command:eval "$(oh-my-posh init bash --config ~/M365Princess.omp.json)" the theme sets correctly but when I close and reopen the terminal I see the default oh-my-posh theme

I'm on a Chromebook but it doesn't affect the Linux container is a debian bullseye(11) arm64

Theme

Actually I use M365Princess and catppuccino

What OS are you seeing the problem on?

Linux

Which shell are you using?

bash

Log output

Version: 18.15.0

Shell: bash (5.1.4(1)-release)

Prompt:

ebilalelaissati  ~  ➜ (main)  ♥ 13:23  

Segments:

ConsoleTitle(false)                       -   0 ms
Text(false)                               -   1 ms
Text(false)                               -   1 ms
Text(false)                               -   1 ms
Session(true)                             -   0 ms
Path(true)                                -   1 ms
Git(true)                                 -  78 ms
Node(false)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 162.932846ms

Cache path: /home/ebilalelaissati/.cache/oh-my-posh

Config path: /home/ebilalelaissati/M365Princess.omp.json

Logs:

[DEBUG] 13:23:40.463 shell.go:Getenv:392 → Tabby
[TRACE] 13:23:40.463 shell.go:Getenv(TERM_PROGRAM) - 383.231µs
[DEBUG] 13:23:40.463 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.463 shell.go:Getenv(OMP_CACHE_DIR) - 33.231µs
[DEBUG] 13:23:40.464 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.464 shell.go:Getenv(XDG_CACHE_HOME) - 19µs
[TRACE] 13:23:40.467 shell_unix.go:CachePath() - 3.449385ms
[DEBUG] 13:23:40.491 shell.go:Getenv:392 → /home/ebilalelaissati/M365Princess.omp.json
[TRACE] 13:23:40.491 shell.go:Getenv(POSH_THEME) - 124.307µs
[DEBUG] 13:23:40.491 shell_unix.go:Platform:77 → debian
[TRACE] 13:23:40.491 shell.go:resolveConfigPath() - 177.693µs
[TRACE] 13:23:40.491 shell.go:Init() - 28.347231ms
[TRACE] 13:23:40.491 shell.go:Flags() - 1.385µs
[TRACE] 13:23:40.504 config.go:loadConfig() - 12.421692ms
[TRACE] 13:23:40.504 shell.go:Flags() - 1µs
[DEBUG] 13:23:40.504 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.504 shell.go:Getenv(OMP_CACHE_DISABLED) - 34.307µs
[DEBUG] 13:23:40.504 shell.go:Shell:646 → no shell name provided in flags, trying to detect it
[DEBUG] 13:23:40.523 shell.go:Shell:654 → process name: bash
[TRACE] 13:23:40.523 shell.go:Shell() - 18.671154ms
[DEBUG] 13:23:40.523 shell.go:Getenv:392 → 5.1.4(1)-release
[TRACE] 13:23:40.523 shell.go:Getenv(POSH_SHELL_VERSION) - 19.077µs
[DEBUG] 13:23:40.523 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 13:23:40.523 text.go:Render:70 → Rendering template: 
[DEBUG] 13:23:40.523 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.524 shell.go:Getenv(POSH_CURSOR_LINE) - 359.923µs
[DEBUG] 13:23:40.524 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.524 shell.go:Getenv(POSH_CURSOR_COLUMN) - 18.846µs
[TRACE] 13:23:40.524 shell.go:Flags() - 1µs
[TRACE] 13:23:40.524 shell.go:Flags() - 846ns
[TRACE] 13:23:40.524 shell.go:Shell() - 1.154µs
[TRACE] 13:23:40.524 shell.go:Shell() - 923ns
[DEBUG] 13:23:40.524 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.524 shell.go:Getenv(OMP_CACHE_DISABLED) - 29.077µs
[TRACE] 13:23:40.524 shell.go:Flags() - 769ns
[TRACE] 13:23:40.524 shell.go:Flags() - 2.154µs
[TRACE] 13:23:40.524 shell.go:Flags() - 1.769µs
[TRACE] 13:23:40.524 shell.go:GOOS() - 1.539µs
[DEBUG] 13:23:40.524 shell.go:Pwd:422 → /home/ebilalelaissati
[TRACE] 13:23:40.525 shell.go:Pwd() - 214.539µs
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[DEBUG] 13:23:40.525 segment.go:SetEnabled:497 → Segment: Text
[TRACE] 13:23:40.525 shell_unix.go:Root() - 3.769µs
[TRACE] 13:23:40.525 shell.go:Shell() - 1.385µs
[TRACE] 13:23:40.525 shell.go:StatusCodes() - 1.154µs
[DEBUG] 13:23:40.525 shell_unix.go:IsWsl:35 → false
[TRACE] 13:23:40.525 shell_unix.go:IsWsl() - 16.693µs
[DEBUG] 13:23:40.525 shell.go:TemplateCache:827 → environment: [SHELL=/bin/bash QT_ACCESSIBILITY=1 COLORTERM=truecolor GTK_IM_MODULE=cros POSH_PID=4698 FIG_SET_PARENT_CHECK=1 XDG_CONFIG_HOME=/home/ebilalelaissati/.config TABBY_PLUGINS= DISPLAY_LOW_DENSITY=:1 XCURSOR_SIZE=24 PWD=/home/ebilalelaissati LOGNAME=ebilalelaissati QT_QPA_PLATFORMTHEME=gtk2 WAYLAND_DISPLAY_LOW_DENSITY=wayland-1 XCURSOR_SIZE_LOW_DENSITY=12 SOMMELIER_VERSION=0.20 HOME=/home/ebilalelaissati LANG=en_US.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: XDG_CURRENT_DESKTOP=X-Generic POSH_SHELL_VERSION=5.1.4(1)-release WAYLAND_DISPLAY=wayland-0 CONDA_PROMPT_MODIFIER=false INVOCATION_ID=3312319a77254492b33f2cf59a013ed0 MANAGERPID=259 CHROME_DESKTOP=tabby.desktop SOMMELIER_DRM_DEVICE=/dev/dri/renderD128 TERM=xterm-256color USER=ebilalelaissati NCURSES_NO_UTF8_ACS=1 FIG_PID=4698 SOMMELIER_GLAMOR=1 DISPLAY=:0 SHLVL=1 TABBY_CONFIG_DIRECTORY=/home/ebilalelaissati/.config/tabby POSH_THEME=/home/ebilalelaissati/M365Princess.omp.json XDG_RUNTIME_DIR=/run/user/1000 PS2=\[\]\[\]> \[\]\[\] PS3=\[\]\[\]\[\] PS1=\[\]\[\]\[\]\[\]\[\]ebilalelaissati \[\]\[\]\[\]\[\]\[\]\[\] ~ \[\]\[\]\[\]\[\]\[\]\[\] ➜ (main) \[\]\[\]\[\]\[\]\[\]\[\] ♥ 13:09 \[\]\[\]\[\] \[\]\[\] NODE_PATH=undefined:/opt/Tabby/resources/builtin-plugins:/opt/Tabby/resources/app.asar/node_modules:/home/ebilalelaissati/.config/tabby/plugins/node_modules FIG_SCRIPTS_KEYBIND=^f QT_AUTO_SCREEN_SCALE_FACTOR=1 JOURNAL_STREAM=8:8905 XCURSOR_THEME=Adwaita XDG_DATA_DIRS=/home/ebilalelaissati/.local/share:/home/ebilalelaissati/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop GDK_BACKEND=x11 BROWSER=/usr/bin/garcon-url-handler PATH=/home/ebilalelaissati/.local/bin:/home/ebilalelaissati/.console-ninja/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/home/ebilalelaissati/.local/bin:/home/ebilalelaissati/.fig/bin ORIGINAL_XDG_CURRENT_DESKTOP=X-Generic DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus LD_ARGV0_REL=../bin/garcon POWERLINE_COMMAND=oh-my-posh SOMMELIER_VM_IDENTIFIER=fb8565d6-5bbd-4125-a6f7-c13fed918328 TTY=/dev/pts/1 TERM_PROGRAM=Tabby _=/usr/local/bin/oh-my-posh]
[TRACE] 13:23:40.525 shell.go:Pwd() - 3.076µs
[TRACE] 13:23:40.525 shell.go:GOOS() - 1.153µs
[TRACE] 13:23:40.525 shell.go:GOOS() - 615ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 616ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 615ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 616ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 923ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 616ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 693ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.525 shell.go:GOOS() - 692ns
[DEBUG] 13:23:40.525 shell.go:User:557 → ebilalelaissati
[TRACE] 13:23:40.525 shell.go:User() - 19µs
[DEBUG] 13:23:40.525 shell.go:Host:569 → penguin
[TRACE] 13:23:40.525 shell.go:Host() - 35.231µs
[TRACE] 13:23:40.525 shell.go:GOOS() - 769ns
[DEBUG] 13:23:40.525 shell_unix.go:Platform:77 → debian
[DEBUG] 13:23:40.525 shell.go:Getenv:392 → 1
[TRACE] 13:23:40.525 shell.go:Getenv(SHLVL) - 15.154µs
[TRACE] 13:23:40.525 shell.go:TemplateCache() - 815.616µs
[TRACE] 13:23:40.525 shell.go:Pwd() - 1.616µs
[TRACE] 13:23:40.525 shell.go:GOOS() - 846ns
[TRACE] 13:23:40.526 shell.go:Pwd() - 3.615µs
[DEBUG] 13:23:40.526 segment.go:SetEnabled:497 → Segment: Text
[TRACE] 13:23:40.526 shell.go:TemplateCache() - 1.231µs
[TRACE] 13:23:40.526 shell.go:GOOS() - 1.231µs
[DEBUG] 13:23:40.526 segment.go:SetEnabled:497 → Segment: Text
[TRACE] 13:23:40.526 shell.go:TemplateCache() - 2.384µs
[DEBUG] 13:23:40.526 text.go:Render:70 → Rendering template: {{ if .Env.PNPPSSITE }} {{ end }}
[DEBUG] 13:23:40.526 text.go:Render:70 → Rendering template: {{ if .Env.PNPPSSITE }}  {{ .Env.PNPPSSITE }}{{ end }}
[DEBUG] 13:23:40.526 text.go:Render:70 → Rendering template: {{ if .Env.PNPPSHOST }}  {{ .Env.PNPPSHOST }} {{ end }}
[TRACE] 13:23:40.527 shell.go:TemplateCache() - 3.154µs
[TRACE] 13:23:40.527 shell.go:TemplateCache() - 1.615µs
[TRACE] 13:23:40.527 shell.go:Shell() - 1.615µs
[TRACE] 13:23:40.528 shell.go:TemplateCache() - 2.846µs
[TRACE] 13:23:40.528 shell.go:TemplateCache() - 1.692µs
[TRACE] 13:23:40.528 shell.go:Shell() - 1.539µs
[TRACE] 13:23:40.529 shell.go:TemplateCache() - 2.846µs
[TRACE] 13:23:40.529 shell.go:TemplateCache() - 1.154µs
[TRACE] 13:23:40.529 shell.go:Shell() - 1.307µs
[TRACE] 13:23:40.529 shell.go:Shell() - 1.231µs
[TRACE] 13:23:40.529 shell.go:Shell() - 692ns
[TRACE] 13:23:40.529 shell.go:Shell() - 692ns
[TRACE] 13:23:40.529 shell.go:Shell() - 923ns
[TRACE] 13:23:40.529 shell.go:Flags() - 1.307µs
[TRACE] 13:23:40.529 shell.go:Flags() - 2.077µs
[TRACE] 13:23:40.529 shell.go:Pwd() - 1.77µs
[TRACE] 13:23:40.529 shell.go:Flags() - 1.077µs
[TRACE] 13:23:40.529 shell.go:GOOS() - 1.231µs
[DEBUG] 13:23:40.530 segment.go:SetEnabled:497 → Segment: Time
[DEBUG] 13:23:40.530 properties.go:GetString:28 → 15:04
[TRACE] 13:23:40.530 shell.go:TemplateCache() - 1.616µs
[TRACE] 13:23:40.530 shell.go:Pwd() - 1.461µs
[TRACE] 13:23:40.530 shell.go:Flags() - 1.077µs
[TRACE] 13:23:40.530 shell.go:GOOS() - 770ns
[TRACE] 13:23:40.530 shell.go:Pwd() - 2.231µs
[DEBUG] 13:23:40.530 segment.go:SetEnabled:497 → Segment: Session
[TRACE] 13:23:40.530 shell.go:GOOS() - 1.538µs
[DEBUG] 13:23:40.530 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.530 shell.go:Getenv(SSH_CONNECTION) - 15.308µs
[DEBUG] 13:23:40.530 segment.go:SetEnabled:497 → Segment: Path
[TRACE] 13:23:40.530 shell.go:Getenv(SSH_CLIENT) - 10.23µs
[TRACE] 13:23:40.530 shell.go:Pwd() - 1.308µs
[TRACE] 13:23:40.530 shell.go:TemplateCache() - 1µs
[TRACE] 13:23:40.530 shell.go:Pwd() - 1.385µs
[TRACE] 13:23:40.530 shell.go:GOOS() - 1µs
[DEBUG] 13:23:40.530 segment.go:SetEnabled:497 → Segment: Git
[TRACE] 13:23:40.530 shell.go:Flags() - 846ns
[TRACE] 13:23:40.530 shell.go:Shell() - 1.692µs
[TRACE] 13:23:40.530 shell.go:Shell() - 2.154µs
[TRACE] 13:23:40.530 shell.go:Pwd() - 1.384µs
[TRACE] 13:23:40.530 shell.go:GOOS() - 692ns
[DEBUG] 13:23:40.530 shell_unix.go:IsWsl:35 → false
[DEBUG] 13:23:40.530 segment.go:SetEnabled:497 → Segment: Node
[TRACE] 13:23:40.530 shell_unix.go:IsWsl() - 25.308µs
[TRACE] 13:23:40.530 shell_unix.go:IsWsl2() - 42.693µs
[TRACE] 13:23:40.530 shell.go:GOOS() - 846ns
[DEBUG] 13:23:40.530 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 13:23:40.530 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 13:23:40.530 properties.go:GetString:28 → 
[DEBUG] 13:23:40.530 properties.go:GetStringArray:52 → folders: []
[DEBUG] 13:23:40.530 properties.go:GetString:28 → 
[DEBUG] 13:23:40.530 properties.go:GetBool:22 → home_enabled: false
[TRACE] 13:23:40.530 shell.go:Pwd() - 2.076µs
[TRACE] 13:23:40.530 shell.go:GOOS() - 1.923µs
[DEBUG] 13:23:40.530 properties.go:GetString:28 → ~
[DEBUG] 13:23:40.530 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 13:23:40.530 shell.go:PathSeparator() - 1.846µs
[TRACE] 13:23:40.530 shell.go:GOOS() - 1.461µs
[TRACE] 13:23:40.530 shell.go:GOOS() - 1.154µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.846µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.154µs
[TRACE] 13:23:40.531 shell.go:PathSeparator() - 1.616µs
[TRACE] 13:23:40.531 shell.go:PathSeparator() - 1.154µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.154µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.154µs
[TRACE] 13:23:40.531 shell.go:PathSeparator() - 1.154µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.154µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.154µs
[TRACE] 13:23:40.531 shell.go:PathSeparator() - 1.154µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.077µs
[TRACE] 13:23:40.531 shell.go:GOOS() - 1.077µs
[TRACE] 13:23:40.531 shell.go:PathSeparator() - 1.462µs
[TRACE] 13:23:40.531 shell.go:Pwd() - 2.846µs
[DEBUG] 13:23:40.531 shell_unix.go:IsWsl:35 → false
[TRACE] 13:23:40.531 shell_unix.go:IsWsl() - 31.308µs
[TRACE] 13:23:40.531 shell.go:StackCount() - 1.846µs
[TRACE] 13:23:40.531 shell_unix.go:DirIsWritable(/home/ebilalelaissati) - 133.308µs
[TRACE] 13:23:40.531 shell.go:TemplateCache() - 3.462µs
[DEBUG] 13:23:40.532 shell.go:CommandPath:608 → /usr/bin/git
[TRACE] 13:23:40.532 shell.go:CommandPath(git) - 2.115462ms
[TRACE] 13:23:40.532 shell.go:HasCommand(git) - 2.131384ms
[TRACE] 13:23:40.532 shell.go:Pwd() - 1.692µs
[TRACE] 13:23:40.533 shell.go:HasParentFilePath(.git) - 1.215692ms
[DEBUG] 13:23:40.533 properties.go:GetStringArray:52 → exclude_folders: []
[TRACE] 13:23:40.533 shell.go:GOOS() - 1.307µs
[TRACE] 13:23:40.533 shell.go:GOOS() - 692ns
[DEBUG] 13:23:40.533 properties.go:GetBool:22 → fetch_user: false
[TRACE] 13:23:40.533 shell.go:GOOS() - 615ns
[TRACE] 13:23:40.533 shell.go:GOOS() - 846ns
[TRACE] 13:23:40.533 shell.go:GOOS() - 693ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 693ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 846ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 615ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 615ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 615ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 693ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 692ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 615ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 923ns
[TRACE] 13:23:40.534 shell.go:GOOS() - 693ns
[DEBUG] 13:23:40.534 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.534 shell.go:Getenv(POSH_GIT_STATUS) - 28.23µs
[DEBUG] 13:23:40.534 properties.go:GetBool:22 → fetch_status: false
[DEBUG] 13:23:40.534 properties.go:GetStringArray:52 → ignore_status: []
[TRACE] 13:23:40.534 shell.go:GOOS() - 1.308µs
[DEBUG] 13:23:40.535 shell.go:FileContent:531 ↓
    ref: refs/heads/main

[TRACE] 13:23:40.535 shell.go:FileContent(/home/ebilalelaissati/.git/HEAD) - 622.307µs
[DEBUG] 13:23:40.535 properties.go:GetString:28 → NO DATA
[DEBUG] 13:23:40.535 properties.go:GetInt:40 → branch_max_length: 0
[DEBUG] 13:23:40.535 properties.go:GetBool:22 → fetch_upstream_icon: true
[ERROR] 13:23:40.608 shell.go:RunCommand:585 → exit status 2
[DEBUG] 13:23:40.608 shell.go:RunCommand:587 ↓
    error: No such remote 'origin'

[TRACE] 13:23:40.608 shell.go:RunCommand(git -C /home/ebilalelaissati --no-optional-locks -c core.quotepath=false -c color.status=false remote get-url origin) - 67.776846ms
[TRACE] 13:23:40.608 shell.go:TemplateCache() - 2.692µs
[DEBUG] 13:23:40.608 text.go:Render:70 → Rendering template:  ♥ {{ .CurrentDate | date .Format }} 
[DEBUG] 13:23:40.608 text.go:Render:70 → Rendering template:  {{ .Path }} 
[DEBUG] 13:23:40.609 text.go:Render:70 → Rendering template:  ➜ ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }}) 
[DEBUG] 13:23:40.609 text.go:Render:70 → Rendering template: {{ .UserName }} 
[TRACE] 13:23:40.609 shell.go:TemplateCache() - 3.461µs
[TRACE] 13:23:40.609 shell.go:Shell() - 2.692µs
[TRACE] 13:23:40.609 shell.go:TemplateCache() - 3.231µs
[TRACE] 13:23:40.610 shell.go:Shell() - 1.693µs
[TRACE] 13:23:40.610 shell.go:TemplateCache() - 2.154µs
[TRACE] 13:23:40.610 shell.go:Shell() - 1.231µs
[TRACE] 13:23:40.615 shell.go:TemplateCache() - 82.385µs
[ERROR] 13:23:40.619 shell.go:FileContent:527 → open /home/ebilalelaissati/.git/logs/refs/stash: no such file or directory
[TRACE] 13:23:40.619 shell.go:FileContent(/home/ebilalelaissati/.git/logs/refs/stash) - 1.425923ms
[TRACE] 13:23:40.620 shell.go:Shell() - 2.692µs
[DEBUG] 13:23:40.620 text.go:Render:70 → Rendering template: diamond
[DEBUG] 13:23:40.623 text.go:Render:70 → Rendering template: powerline
[DEBUG] 13:23:40.623 text.go:Render:70 → Rendering template: powerline
[DEBUG] 13:23:40.623 text.go:Render:70 → Rendering template: powerline
[DEBUG] 13:23:40.623 text.go:Render:70 → Rendering template: diamond
[TRACE] 13:23:40.625 shell.go:Shell() - 3.692µs
[TRACE] 13:23:40.625 shell.go:Shell() - 1.307µs
[TRACE] 13:23:40.625 shell.go:Shell() - 1.847µs
[TRACE] 13:23:40.625 shell.go:Shell() - 1.308µs
[DEBUG] 13:23:40.627 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.627 shell.go:Getenv(OMP_CACHE_DIR) - 226.154µs
[DEBUG] 13:23:40.627 shell.go:Getenv:392 → NO DATA
[TRACE] 13:23:40.627 shell.go:Getenv(XDG_CACHE_HOME) - 151.769µs
[TRACE] 13:23:40.628 shell_unix.go:CachePath() - 1.244307ms
[TRACE] 13:23:40.628 shell.go:Flags() - 2.23µs
JanDeDobbeleer commented 1 year ago

@ANAKARABILAL did you add the same command to your bashrc?

ANAKARABILAL commented 1 year ago

@JanDeDobbeleer how I add the command to my bashrc?

JanDeDobbeleer commented 1 year ago

By reading the documentation.

ANAKARABILAL commented 1 year ago

@JanDeDobbeleer oh I see . I already make it but it didn't work I also reinstalled oh-my-posh but no results

JanDeDobbeleer commented 1 year ago

If you can see the "regular" oh-my-posh prompt when starting the terminal, you did add it to the rc file otherwise it can't start. So most likely, where you added it, you did so without specifying the config.

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.