Can't install theme on termux for Android using bash #5968
Unanswered
nathgit
asked this question in
Troubleshoot
Replies: 1 comment
-
@nathgit I don’t know where you got that syntax from, but that’s entirely incorrect. You can follow the documentation for bash here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Code of Conduct
What happened?
I'm trying to install a theme on termux for Android with bash shell. The command I'm using is
oh-my-posh -c 'path-to-file
. Did I do something wrong?Theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#ffffff",
"style": "plain",
"template": "{{ reason .Code }}\u274c ",
"type": "status"
},
{
"foreground": "#ff0000",
"style": "plain",
"template": "# ",
"type": "root"
},
{
"foreground": "#ffffff",
"style": "plain",
"template": "{{ .UserName }}@{{ .HostName }} ",
"type": "session"
},
{
"background": "#007ACC",
"foreground": "#ffffff",
"properties": {
"folder_icon": "\u2026",
"folder_separator_icon": " \ue0b1 ",
"style": "agnoster_short",
"max_depth": 3
},
"style": "plain",
"template": "\ue0b0</> {{ .Path }} ",
"type": "path"
},
{
"background": "#007ACC",
"foreground": "#ffffff",
"properties": {
"cherry_pick_icon": "\u2713 ",
"commit_icon": "\u25b7 ",
"fetch_status": true,
"merge_icon": "\u25f4 ",
"no_commits_icon": "[no commits]",
"rebase_icon": "\u2c62 ",
"tag_icon": "\u25b6 "
},
"style": "plain",
"template": "{{ .HEAD }}{{ if and (eq .Ahead 0) (eq .Behind 0) }} \u2261{{end}}{{ if gt .Ahead 0 }} \u2191{{.Ahead}}{{end}}{{ if gt .Behind 0 }} \u2193{{.Behind}}{{end}} {{ if .Working.Changed }}+{{ .Working.Added }} ~{{ .Working.Modified }} -{{ .Working.Deleted }} {{ end }}",
"type": "git"
},
{
"foreground": "#007ACC",
"style": "plain",
"template": "\ue0b0 ",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 3
}
What OS are you seeing the problem on?
No response
Which shell are you using?
bash
Log output
Beta Was this translation helpful? Give feedback.
All reactions