JanDeDobbeleer / oh-my-posh

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

Themes are installed in .cache folder #4583

Closed SiddharthMant closed 8 months ago

SiddharthMant commented 8 months ago

Code of Conduct

What happened?

By default the installer installs the themes in .cache folder. On my system this folder is a tmpfs.

Furthermore config should never be stored in .cache. Can we change the path to themes ? Prefer installing themes to .config folder instead.

Theme

NA

What OS are you seeing the problem on?

Linux

Which shell are you using?

bash

Log output

Version: 19.3.1

Shell: bash (5.2.21(1)-release)

Prompt:

 sid   ~                                                                                                                   in bash at 17:46:48

Segments:

ConsoleTitle(true)                        -   0 ms
Session(true)                             -   1 ms
Path(true)                                -   0 ms
Git(false)                                -   0 ms
Root(false)                               -   0 ms
Status(true)                              -   0 ms
Node(false)                               -   0 ms
Go(false)                                 -   0 ms
Python(false)                             -   0 ms
Shell(true)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 6.382578ms

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

Config path: no --config set, using default built-in configuration

Logs:

[DEBUG] 17:46:48.650 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.650 shell.go:Getenv(TERM_PROGRAM) - 39.444µs
[DEBUG] 17:46:48.650 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.650 shell.go:Getenv(OMP_CACHE_DIR) - 4.258µs
[DEBUG] 17:46:48.650 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.650 shell.go:Getenv(XDG_CACHE_HOME) - 2.765µs
[TRACE] 17:46:48.650 shell_unix.go:CachePath() - 46.266µs
[DEBUG] 17:46:48.650 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.650 shell.go:Getenv(POSH_THEME) - 4.859µs
[DEBUG] 17:46:48.650 shell.go:resolveConfigPath:319 → No config set, fallback to default config
[TRACE] 17:46:48.650 shell.go:resolveConfigPath() - 24.075µs
[TRACE] 17:46:48.650 shell.go:Init() - 362.704µs
[TRACE] 17:46:48.650 shell.go:Flags() - 51ns
[DEBUG] 17:46:48.650 config.go:loadConfig:129 → no config file specified, using default
[TRACE] 17:46:48.650 config.go:loadConfig() - 30.447µs
[TRACE] 17:46:48.650 shell.go:Flags() - 40ns
[DEBUG] 17:46:48.650 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.650 shell.go:Getenv(OMP_CACHE_DISABLED) - 5.861µs
[DEBUG] 17:46:48.650 shell.go:Shell:662 → no shell name provided in flags, trying to detect it
[DEBUG] 17:46:48.652 shell.go:Shell:670 → process name: bash
[TRACE] 17:46:48.652 shell.go:Shell() - 1.470674ms
[DEBUG] 17:46:48.652 shell.go:Getenv:399 → 5.2.21(1)-release
[TRACE] 17:46:48.652 shell.go:Getenv(POSH_SHELL_VERSION) - 3.296µs
[DEBUG] 17:46:48.652 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 17:46:48.652 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 17:46:48.652 shell_unix.go:Root() - 561ns
[TRACE] 17:46:48.652 shell.go:Shell() - 101ns
[TRACE] 17:46:48.652 shell.go:StatusCodes() - 70ns
[DEBUG] 17:46:48.652 shell_unix.go:IsWsl:35 → false
[TRACE] 17:46:48.652 shell_unix.go:IsWsl() - 17.513µs
[DEBUG] 17:46:48.652 shell.go:TemplateCache:843 → environment: [SHELL=/bin/bash IMSETTINGS_INTEGRATE_DESKTOP=yes WINDOWID=1 COLORTERM=truecolor XDG_CONFIG_DIRS=/home/sid/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg KGLOBALACCELD_PLATFORM=org.kde.kwin XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 HISTCONTROL=ignoredups XDG_MENU_PREFIX=kf5- POSH_PID=26384 HOSTNAME=fedora HISTSIZE=1000 LANGUAGE= SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket SHELL_SESSION_ID=003cf5db9cd94767babca476ebbf026b MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA= XMODIFIERS=@im=none DESKTOP_SESSION=plasma GDK_CORE_DEVICE_EVENTS=1 XCURSOR_SIZE=24 EDITOR=/usr/bin/nano XDG_SEAT=seat0 PWD=/home/sid XDG_SESSION_DESKTOP=KDE LOGNAME=sid XDG_SESSION_TYPE=wayland SYSTEMD_EXEC_PID=2229 XAUTHORITY=/run/user/1000/xauth_vqDpNm XKB_DEFAULT_MODEL=pc105 GTK2_RC_FILES=/home/sid/.gtkrc-2.0-kde4 HOME=/home/sid SSH_ASKPASS=/usr/bin/ksshaskpass 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=01;37;41:su=37;41:sg=30;43:ca=00: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:*.avif=01;35:*.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=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90: XDG_CURRENT_DESKTOP=KDE POSH_SHELL_VERSION=5.2.21(1)-release KONSOLE_DBUS_SERVICE=:1.379 MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service/memory.pressure WAYLAND_DISPLAY=wayland-0 KONSOLE_DBUS_SESSION=/Sessions/1 PROFILEHOME= CONDA_PROMPT_MODIFIER=false XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 INVOCATION_ID=2f65cf8bcbcb4742bb163931a8de4884 KONSOLE_VERSION=230804 MANAGERPID=1876 IMSETTINGS_MODULE=none KDE_SESSION_UID=1000 MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed XKB_DEFAULT_LAYOUT=us XDG_ACTIVATION_TOKEN=kwin-68 QT_WAYLAND_DECORATION=adwaita XDG_SESSION_CLASS=user TERM=xterm-256color LESSOPEN=||/usr/bin/lesspipe.sh %s USER=sid COLORFGBG=15;0 PLASMA_USE_QT_SCALING=1 KDE_SESSION_VERSION=5 PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket QT_WAYLAND_FORCE_DPI=96 DISPLAY=:0 SHLVL=1 XDG_VTNR=2 XDG_SESSION_ID=2 FC_LANG=en-US POSH_THEME= XDG_RUNTIME_DIR=/run/user/1000 DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ KDEDIRS=/usr QT_AUTO_SCREEN_SCALE_FACTOR=0 JOURNAL_STREAM=8:10054 XCURSOR_THEME=breeze_cursors XDG_DATA_DIRS=/home/sid/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share KDE_FULL_SESSION=true QSG_RENDER_LOOP=basic PATH=/home/sid/.local/bin:/home/sid/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sid/development/bin:/home/sid/development/flutter/bin:/home/sid/.pub-cache/bin:/home/sid/development/bin:/home/sid/development/flutter/bin:/home/sid/.pub-cache/bin DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus KDE_APPLICATIONS_AS_SCOPE=1 MAIL=/var/spool/mail/sid POWERLINE_COMMAND=oh-my-posh KONSOLE_DBUS_WINDOW=/Windows/1 _=/usr/local/bin/oh-my-posh]
[TRACE] 17:46:48.652 shell.go:GOOS() - 71ns
[DEBUG] 17:46:48.652 shell.go:Pwd:429 → /home/sid
[TRACE] 17:46:48.652 shell.go:Pwd() - 21.089µs
[TRACE] 17:46:48.652 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.652 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.652 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.652 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.652 shell.go:GOOS() - 40ns
[DEBUG] 17:46:48.652 shell.go:User:564 → sid
[TRACE] 17:46:48.652 shell.go:User() - 2.875µs
[DEBUG] 17:46:48.652 shell.go:Host:576 → fedora
[TRACE] 17:46:48.652 shell.go:Host() - 4.488µs
[TRACE] 17:46:48.652 shell.go:GOOS() - 40ns
[DEBUG] 17:46:48.652 shell_unix.go:Platform:77 → fedora
[DEBUG] 17:46:48.652 shell.go:Getenv:399 → 1
[TRACE] 17:46:48.652 shell.go:Getenv(SHLVL) - 2.264µs
[TRACE] 17:46:48.652 shell.go:TemplateCache() - 174.815µs
[DEBUG] 17:46:48.652 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.652 shell.go:Getenv(POSH_CURSOR_LINE) - 2.395µs
[DEBUG] 17:46:48.652 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.652 shell.go:Getenv(POSH_CURSOR_COLUMN) - 1.814µs
[TRACE] 17:46:48.652 shell.go:Flags() - 40ns
[TRACE] 17:46:48.652 shell.go:Flags() - 40ns
[TRACE] 17:46:48.652 shell.go:Shell() - 60ns
[TRACE] 17:46:48.652 shell.go:Shell() - 30ns
[TRACE] 17:46:48.652 shell.go:Flags() - 150ns
[DEBUG] 17:46:48.652 properties.go:GetString:28 → {{ .Code }}
[TRACE] 17:46:48.652 shell.go:Pwd() - 100ns
[TRACE] 17:46:48.652 shell.go:GOOS() - 50ns
[TRACE] 17:46:48.652 shell.go:Flags() - 241ns
[DEBUG] 17:46:48.652 segment.go:SetEnabled:512 → Segment: Status
[TRACE] 17:46:48.652 shell.go:StatusCodes() - 40ns
[DEBUG] 17:46:48.652 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 17:46:48.652 shell.go:Pwd() - 170ns
[TRACE] 17:46:48.652 shell.go:GOOS() - 70ns
[DEBUG] 17:46:48.652 segment.go:SetEnabled:512 → Segment: Git
[TRACE] 17:46:48.652 shell.go:Flags() - 240ns
[DEBUG] 17:46:48.652 shell_unix.go:IsWsl:35 → false
[TRACE] 17:46:48.652 shell_unix.go:IsWsl() - 4.298µs
[TRACE] 17:46:48.652 shell_unix.go:IsWsl2() - 7.654µs
[TRACE] 17:46:48.652 shell.go:GOOS() - 41ns
[TRACE] 17:46:48.652 shell.go:Pwd() - 180ns
[TRACE] 17:46:48.652 shell.go:GOOS() - 61ns
[DEBUG] 17:46:48.652 segment.go:SetEnabled:512 → Segment: Path
[DEBUG] 17:46:48.653 shell.go:CommandPath:615 → /usr/bin/git
[TRACE] 17:46:48.653 shell.go:CommandPath(git) - 34.364µs
[TRACE] 17:46:48.653 shell.go:Pwd() - 71ns
[TRACE] 17:46:48.653 shell.go:HasCommand(git) - 37.871µs
[TRACE] 17:46:48.653 shell.go:Shell() - 81ns
[TRACE] 17:46:48.653 shell.go:Pwd() - 61ns
[TRACE] 17:46:48.653 shell.go:Shell() - 71ns
[TRACE] 17:46:48.653 shell.go:Flags() - 230ns
[ERROR] 17:46:48.653 shell.go:HasParentFilePath:758 → stat .git: no such file or directory
[TRACE] 17:46:48.653 shell.go:HasParentFilePath(.git) - 46.577µs
[TRACE] 17:46:48.653 shell.go:Pwd() - 130ns
[DEBUG] 17:46:48.653 properties.go:GetBool:22 → fetch_bare_info: false
[TRACE] 17:46:48.653 shell.go:GOOS() - 60ns
[DEBUG] 17:46:48.653 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 17:46:48.653 segment.go:SetEnabled:512 → Segment: Root
[DEBUG] 17:46:48.653 properties.go:GetString:28 → 
[DEBUG] 17:46:48.653 properties.go:GetString:28 → 
[TRACE] 17:46:48.653 shell_unix.go:Root() - 661ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 90ns
[DEBUG] 17:46:48.653 properties.go:GetString:28 → ~
[DEBUG] 17:46:48.653 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 17:46:48.653 shell.go:PathSeparator() - 60ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 50ns
[TRACE] 17:46:48.653 shell.go:Flags() - 351ns
[TRACE] 17:46:48.653 shell.go:Pwd() - 210ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 100ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 200ns
[DEBUG] 17:46:48.653 segment.go:SetEnabled:512 → Segment: Session
[TRACE] 17:46:48.653 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.653 shell.go:PathSeparator() - 60ns
[TRACE] 17:46:48.653 shell.go:PathSeparator() - 50ns
[DEBUG] 17:46:48.653 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.653 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.653 shell.go:Getenv(SSH_CONNECTION) - 10.85µs
[TRACE] 17:46:48.653 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.653 shell.go:PathSeparator() - 40ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 50ns
[DEBUG] 17:46:48.653 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.653 shell.go:PathSeparator() - 40ns
[TRACE] 17:46:48.653 shell.go:GOOS() - 50ns
[TRACE] 17:46:48.653 shell.go:Getenv(SSH_CLIENT) - 11.181µs
[TRACE] 17:46:48.653 shell.go:GOOS() - 40ns
[TRACE] 17:46:48.653 shell.go:PathSeparator() - 40ns
[TRACE] 17:46:48.653 shell.go:Pwd() - 91ns
[DEBUG] 17:46:48.653 shell_unix.go:IsWsl:35 → false
[TRACE] 17:46:48.653 shell_unix.go:IsWsl() - 4.538µs
[TRACE] 17:46:48.653 shell.go:StackCount() - 80ns
[TRACE] 17:46:48.653 shell_unix.go:DirIsWritable(/home/sid) - 7.174µs
[TRACE] 17:46:48.653 shell.go:TemplateCache() - 160ns
[DEBUG] 17:46:48.653 shell_unix.go:Platform:77 → fedora
[TRACE] 17:46:48.653 shell.go:TemplateCache() - 130ns
[DEBUG] 17:46:48.653 properties.go:GetBool:22 → always_enabled: true
[TRACE] 17:46:48.653 shell.go:TemplateCache() - 91ns
[DEBUG] 17:46:48.654 shell.go:RunCommand:594 → NO DATA
[TRACE] 17:46:48.654 shell.go:RunCommand(who am i) - 971.917µs
[TRACE] 17:46:48.654 shell.go:TemplateCache() - 190ns
[DEBUG] 17:46:48.654 text.go:Render:70 → Rendering template:   {{ path .Path .Location }} 
[DEBUG] 17:46:48.654 text.go:Render:70 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }} 
[DEBUG] 17:46:48.654 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }} 
[TRACE] 17:46:48.654 shell.go:TemplateCache() - 211ns
[TRACE] 17:46:48.654 shell.go:TemplateCache() - 220ns
[TRACE] 17:46:48.654 shell.go:Shell() - 70ns
[TRACE] 17:46:48.654 shell.go:Shell() - 70ns
[TRACE] 17:46:48.654 shell.go:TemplateCache() - 231ns
[TRACE] 17:46:48.654 shell.go:Shell() - 130ns
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: diamond
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: powerline
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: powerline
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: powerline
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 17:46:48.655 shell.go:TemplateCache() - 211ns
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: diamond
[TRACE] 17:46:48.655 shell.go:Shell() - 100ns
[TRACE] 17:46:48.655 shell.go:Shell() - 60ns
[TRACE] 17:46:48.655 shell.go:Shell() - 40ns
[TRACE] 17:46:48.655 shell.go:Shell() - 30ns
[DEBUG] 17:46:48.655 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.655 shell.go:Getenv(OMP_CACHE_DISABLED) - 3.697µs
[TRACE] 17:46:48.655 shell.go:Flags() - 50ns
[TRACE] 17:46:48.655 shell.go:Flags() - 70ns
[TRACE] 17:46:48.655 shell.go:Flags() - 61ns
[TRACE] 17:46:48.655 shell.go:Flags() - 80ns
[TRACE] 17:46:48.655 shell.go:Pwd() - 120ns
[TRACE] 17:46:48.655 shell.go:Pwd() - 90ns
[TRACE] 17:46:48.655 shell.go:Pwd() - 90ns
[TRACE] 17:46:48.655 shell.go:GOOS() - 41ns
[TRACE] 17:46:48.655 shell.go:Flags() - 240ns
[TRACE] 17:46:48.655 shell.go:GOOS() - 60ns
[TRACE] 17:46:48.655 shell.go:GOOS() - 70ns
[DEBUG] 17:46:48.655 segment.go:SetEnabled:512 → Segment: Node
[DEBUG] 17:46:48.655 segment.go:SetEnabled:512 → Segment: Go
[DEBUG] 17:46:48.655 segment.go:SetEnabled:512 → Segment: Time
[TRACE] 17:46:48.655 shell.go:Flags() - 211ns
[DEBUG] 17:46:48.655 properties.go:GetString:28 → files
[DEBUG] 17:46:48.655 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 17:46:48.655 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 17:46:48.655 properties.go:GetString:28 → 15:04:05
[DEBUG] 17:46:48.655 properties.go:GetStringArray:52 → folders: []
[DEBUG] 17:46:48.655 properties.go:GetBool:22 → home_enabled: false
[TRACE] 17:46:48.655 shell.go:Pwd() - 71ns
[TRACE] 17:46:48.655 shell.go:GOOS() - 70ns
[TRACE] 17:46:48.655 shell.go:Pwd() - 30ns
[DEBUG] 17:46:48.655 segment.go:SetEnabled:512 → Segment: Python
[DEBUG] 17:46:48.655 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 17:46:48.655 shell.go:Pwd() - 100ns
[TRACE] 17:46:48.655 shell.go:TemplateCache() - 290ns
[TRACE] 17:46:48.655 shell.go:GOOS() - 40ns
[DEBUG] 17:46:48.655 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 17:46:48.655 segment.go:SetEnabled:512 → Segment: Shell
[DEBUG] 17:46:48.655 properties.go:GetBool:22 → home_enabled: false
[TRACE] 17:46:48.655 shell.go:Pwd() - 70ns
[DEBUG] 17:46:48.655 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 17:46:48.655 shell.go:Shell() - 60ns
[TRACE] 17:46:48.655 shell.go:Flags() - 20ns
[TRACE] 17:46:48.655 shell.go:TemplateCache() - 160ns
[DEBUG] 17:46:48.655 properties.go:GetStringArray:52 → folders: []
[DEBUG] 17:46:48.655 properties.go:GetBool:22 → home_enabled: false
[TRACE] 17:46:48.655 shell.go:Pwd() - 40ns
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></> 
[TRACE] 17:46:48.655 shell.go:TemplateCache() - 281ns
[TRACE] 17:46:48.655 shell.go:Shell() - 100ns
[TRACE] 17:46:48.655 shell.go:TemplateCache() - 241ns
[TRACE] 17:46:48.655 shell.go:Shell() - 80ns
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: plain
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: plain
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: plain
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: plain
[DEBUG] 17:46:48.655 text.go:Render:70 → Rendering template: plain
[TRACE] 17:46:48.655 shell.go:Shell() - 50ns
[TRACE] 17:46:48.655 shell.go:Shell() - 30ns
[TRACE] 17:46:48.655 shell.go:Flags() - 30ns
[TRACE] 17:46:48.655 shell.go:Shell() - 30ns
[TRACE] 17:46:48.656 shell.go:Shell() - 30ns
[DEBUG] 17:46:48.656 shell_unix.go:TerminalWidth:70 → terminal width: 150
[TRACE] 17:46:48.656 shell_unix.go:TerminalWidth() - 756.317µs
[TRACE] 17:46:48.656 shell.go:Flags() - 31ns
[DEBUG] 17:46:48.656 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.656 shell.go:Getenv(OMP_CACHE_DIR) - 2.856µs
[DEBUG] 17:46:48.656 shell.go:Getenv:399 → NO DATA
[TRACE] 17:46:48.656 shell.go:Getenv(XDG_CACHE_HOME) - 1.643µs
[TRACE] 17:46:48.656 shell_unix.go:CachePath() - 19.567µs
[TRACE] 17:46:48.656 shell.go:Flags() - 30ns
JanDeDobbeleer commented 8 months ago

These aren't configs you can use to customize though, so in that sense they're not part of a user's config. They only act as samples you can start from (or use them as they are). I can add a switch that allows setting a custom path for these, that's not an issue.

SiddharthMant commented 8 months ago

Extensible configs are usually stored in /usr/share or ~/.local/share (for local install). Perhaps consider installing to these folders by default ?

A switch would be nice too but changing the default install location will be better.


From: Jan De Dobbeleer @.> Sent: Friday, January 5, 2024 10:48:24 PM To: JanDeDobbeleer/oh-my-posh @.> Cc: Siddharth Manthan @.>; Author @.> Subject: Re: [JanDeDobbeleer/oh-my-posh] Themes are installed in .cache folder (Issue #4583)

These aren't configs you can use to customize though, so in that sense they're not part of a user's config. They only act as samples you can start from (or use them as they are). I can add a switch that allows setting a custom path for these, that's not an issue.

— Reply to this email directly, view it on GitHubhttps://github.com/JanDeDobbeleer/oh-my-posh/issues/4583#issuecomment-1879010754, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKWBBB5WQ55W6SIZBWSDUBLYNAYWBAVCNFSM6AAAAABBOLADEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGAYTANZVGQ. You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 4 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.