Closed BPplays closed 1 year ago
@BPplays Android isn't supported by oh-my-posh out of the box. And ever since golang refactored their syscalls in 1.20, this breaks on Android and they do not want to fix it. The solution is to build for Android, which is possible, but not out of the box. And due to the limited use-case, I can't justify putting in that effort.
@BPplays I went the extra smile and tried to create an android build. Can you check if this work?
@JanDeDobbeleer It works !!! Will it be released or is already on the distributions?
@jggamba not released just yet, I want to build a container first so I can build from there instead of compiling golang every time.
@jggamba this one's built using a specific container. Can you validate one last time? If OK I can merge that change and it will be part of future releases.
@JanDeDobbeleer it seems to work fine, but {{.Icon}} should probably be f0032 (nf-md-android)
@BPplays it's live.
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.
Code of Conduct
What happened?
when trying to run versions above v14.10.0 specifically v17.6.0 it gives the error SIGSYS: bad system call
Theme
{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "palette": { "os": "#ACB0BE", "pink-old": "#f5c2e7", "pink": "#cba6f7", "lavender": "#b4befe", "blue": "#89b4fa", "wight": "#FFFFFF", "wight-old": "#cdd6f4", "text": "#45475a" }, "blocks": [ { "alignment": "left", "segments": [ { "background": "p:blue", "foreground": "p:wight", "powerline_symbol": "\ue0b4", "leading_diamond": "\ue0b6", "style": "diamond", "template": "{{.Icon}} ", "type": "os" }, { "background": "p:blue", "foreground": "p:text", "powerline_symbol": "\ue0b4", "style": "diamond", "template": "{{ .UserName }}@{{ $truncated_hostname := split \".\" .HostName }}{{ $truncated_hostname._0 }}", "type": "session" }, { "background": "p:pink", "foreground": "p:text", "properties": { "folder_icon": "..\ue5fe..", "home_icon": "~", "style": "agnoster_short" }, "powerline_symbol": "\ue0b4", "style": "powerline", "template": " {{ .Path }}", "type": "path" }, { "background": "p:lavender", "foreground": "p:text", "style": "powerline", "properties": { "branch_icon": "\ue725 ", "cherry_pick_icon": "\ue29b ", "commit_icon": "\uf417 ", "fetch_status": false, "fetch_upstream_icon": false, "merge_icon": "\ue727 ", "no_commits_icon": "\uf594 ", "rebase_icon": "\ue728 ", "revert_icon": "\uf0e2 ", "tag_icon": "\uf412 " }, "powerline_symbol": "\ue0b4", "template": " {{ .HEAD }}", "type": "git" } ], "type": "prompt" } ], "final_space": true, "version": 2 }
What OS are you seeing the problem on?
No response
Which shell are you using?
fish
Log output