Search Criteria
Package Details: oh-my-posh 18.10.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/oh-my-posh.git (read-only, click to copy) |
---|---|
Package Base: | oh-my-posh |
Description: | A prompt theme engine for any shell. |
Upstream URL: | https://github.com/JanDeDobbeleer/oh-my-posh |
Keywords: | oh-my-posh |
Licenses: | MIT |
Submitter: | wszqkzqk |
Maintainer: | wszqkzqk |
Last Packager: | wszqkzqk |
Votes: | 4 |
Popularity: | 0.84 |
First Submitted: | 2022-10-20 13:30 (UTC) |
Last Updated: | 2023-09-24 14:26 (UTC) |
Dependencies (3)
- glibc (glibc-widevine, glibc-git, glibc-linux4)
- gcc (gccrs-git, gcc-git, gcc11) (make)
- go (go-git, go-go2go-git, go-beta, gcc-go-git, gcc-go) (make)
Latest Comments
ZhangHua commented on 2023-08-07 09:36 (UTC)
You must call
"./${pkgname}"
in line 23-25, because oh-my-posh is not in the $PATH absolutely.ZhangHua commented on 2023-08-06 12:25 (UTC)
It seems that you forget to generate completions such as
oh-my-posh.sh
,oh-my-posh.fish
and_oh-my-posh
. Which results that there will no required files found when calling package()What's more, I think you may set
build.Version
to$pkgver
insteadv$pkgver
. Usingv$pkgver
results that the version string used for checking updates is changed tovv18.2.5
insteadv18.2.5
.Sacro commented on 2023-07-19 17:28 (UTC) (edited on 2023-07-19 17:29 (UTC) by Sacro)
Please can you generate and add completions? This does it.
ZhangHua commented on 2023-07-10 06:18 (UTC) (edited on 2023-07-10 06:19 (UTC) by ZhangHua)
Please consider adding
-X github.com/jandedobbeleer/oh-my-posh/src/build.Version=v$pkgver -X github.com/jandedobbeleer/oh-my-posh/src/build.Date=$(date +%F)
to -ldflags so we can print detailed info inoh-my-posh version --verbose
command. However, this means that you need to move-ldflags=-linkmode=external
in GOFLAGS variable togo build
command as its params, because GOFLAGS does not support value with space.You can use this patch to achieve this:
TrialnError commented on 2023-01-06 18:41 (UTC)
Temporary fix for the name of the created binary:
a821 commented on 2023-01-06 12:58 (UTC) (edited on 2023-01-07 12:56 (UTC) by a821)
Edit: fixed, thanks :-)
fails to build due to an error in line #25, because the binary is called
src
instead ofoh-my-posh
. Maybe an issue to raise upstream.