Commit graph

3454 commits

Author SHA1 Message Date
Jan De Dobbeleer 3f1eb821f0 refactor(terminalwidth): add debug info 2023-08-05 17:53:58 +02:00
Jan De Dobbeleer f55da0ebcb fix(tooltip): position with spaces instead of ANSI 2023-08-05 17:53:58 +02:00
Jan De Dobbeleer c23069b185 fix(prompt): print right block using spaces 2023-08-05 17:53:58 +02:00
Jan De Dobbeleer 181b789186 fix(rprompt): position using spaces instead of ANSI 2023-08-05 17:53:58 +02:00
Jan De Dobbeleer 2007f9d1ab fix(platform): use built-in sync.Map
relates to #4116
2023-08-04 08:26:06 +02:00
Jan De Dobbeleer 8554fb66a6 fix(winreg): fetch default key value
resolves #4119
2023-08-03 20:12:23 +02:00
Jan De Dobbeleer ea610029b2 fix(engine): use concurrent map for Segments
resolves #4116
2023-08-03 20:12:23 +02:00
dependabot[bot] e44461f1f5 chore(deps): bump TriPSs/conventional-changelog-action
Bumps [TriPSs/conventional-changelog-action](https://github.com/tripss/conventional-changelog-action) from 3.19.0 to 4.0.0.
- [Release notes](https://github.com/tripss/conventional-changelog-action/releases)
- [Changelog](https://github.com/TriPSs/conventional-changelog-action/blob/releases/v4/CHANGELOG.md)
- [Commits](dd19d7c07e...5f865e4ca3)

---
updated-dependencies:
- dependency-name: TriPSs/conventional-changelog-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 00:31:21 +00:00
Jan De Dobbeleer c079e6eacf docs(status): use correct template 2023-08-02 07:28:40 +02:00
dependabot[bot] 4246ee235c chore(deps): bump github.com/shirou/gopsutil/v3 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.6 to 3.23.7.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.6...v3.23.7)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 01:00:13 +00:00
dependabot[bot] 8b254f40cb chore(deps): bump golang.org/x/image from 0.9.0 to 0.10.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/image/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 00:59:01 +00:00
Jan De Dobbeleer 8aac0992cd feat(template): add hresult function 2023-07-29 14:59:01 +02:00
Jan De Dobbeleer 3a580ff122 feat(config): parse jsonc config files
resolves #4097
2023-07-27 13:26:04 +02:00
Jan De Dobbeleer 344c9b6d86 chore(social): trim post length 2023-07-24 19:20:41 +02:00
Jan De Dobbeleer 0af3029cf1 fix(cursor): allow disabling cursor positioning
resolves #4072
2023-07-24 19:20:41 +02:00
Jan De Dobbeleer f47da9592f feat(exit): implement pipestatus
BREAKING CHANGE: exit segment is now called status segment.

The exit keyword is now deprecated and will be removed in a future
release. Please use the status keyword instead:

```diff
"segments": {
    {
-     "type": "exit"
+     "type": "status"
    }
}
```

Additionally, the status segment configuration has changed to support
$PIPESTATUS. You can include a status template to customize the
rendering of each individual status code (supported in fish, zsh and
bash).

```json
"segments": {
    {
        "type": "status",
        "properties": {
            "status_template": "{{ if gt .Code 0 }}\uf071{{ else }}\uf00c{{ end }}",
            "status_separator": " "
        }
    }
}
```

In case no $PIPESTATUS is available, the status segment will fall back
to the exit code of the last command using the status template
for rendering.

The `{{ .Meaning }}` property has been marked as deprecated and can be
replaced with `{{ reason .Code }}`, allowing it to be reused in
cross segment templates.

resolves #4070
2023-07-24 11:46:33 +02:00
dependabot[bot] 2da3722521 chore(deps): bump github.com/mattn/go-runewidth in /src
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.14 to 0.0.15.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.14...v0.0.15)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 01:07:52 +00:00
dependabot[bot] 65e0e1569f chore(deps): bump wagoid/commitlint-github-action from 5.4.1 to 5.4.3
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 5.4.1 to 5.4.3.
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](456526eec7...6319f54d83)

---
updated-dependencies:
- dependency-name: wagoid/commitlint-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:48:43 +00:00
Jan De Dobbeleer 413cb97bcd fix(http): only use HTTPS_PROXY 2023-07-23 09:35:58 +02:00
Jan De Dobbeleer cc6ad419cd chore(social): use correct js file 2023-07-21 19:42:54 +02:00
Jan De Dobbeleer aacef4b186 feat: add quasar segment 2023-07-21 14:45:31 +02:00
Jan De Dobbeleer 8cd77ae1c2 docs: add ca-certificates info
resolves #4073
2023-07-21 14:45:31 +02:00
Jan De Dobbeleer 454f191289 chore(bluesky): remove module definition 2023-07-21 14:45:31 +02:00
dependabot[bot] 1eba276960 chore(deps): bump github.com/gookit/color from 1.5.3 to 1.5.4 in /src
Bumps [github.com/gookit/color](https://github.com/gookit/color) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/gookit/color/releases)
- [Commits](https://github.com/gookit/color/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/gookit/color
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:33:41 +00:00
Jan De Dobbeleer 5f8ae8094f refactor: add more logging for environment
relates to #4066
2023-07-19 08:37:31 +02:00
Jan De Dobbeleer d4d6710fab fix(os): support alma linux 9
resolves #4065
2023-07-19 08:37:31 +02:00
Jan De Dobbeleer 1f283051d2 fix(os): use correct Android platform name 2023-07-14 16:17:36 +02:00
Jan De Dobbeleer 9b011b45a8 fix(android): update version based on bash capabilities 2023-07-14 14:23:34 +02:00
Jan De Dobbeleer b27608dd73 feat(kubectl): specify context aliases 2023-07-14 14:00:02 +02:00
Jan De Dobbeleer 2bfd08ec57 fix(android): correct version number trimming 2023-07-14 14:00:02 +02:00
Jan De Dobbeleer 7d5c731d2f feat: build for android 2023-07-14 13:08:42 +02:00
Jan De Dobbeleer bce149b82f fix(azure): correct Azure icon
resolves #4056
2023-07-14 07:28:12 +02:00
dependabot[bot] 0570e50549 chore(deps): bump helm/kind-action from 1.7.0 to 1.8.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](fa81e57adf...dda0770415)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 01:13:54 +00:00
Janrey Licas b841fdbc9f chore(update): update theme to v1.2.4 with metadata changes 2023-07-11 12:43:45 +02:00
Jan De Dobbeleer 1c3561618f chore(go): cache dependencies 2023-07-10 13:47:06 +02:00
allcontributors[bot] d6794701ed docs: update .all-contributorsrc [skip ci] 2023-07-10 08:27:18 +02:00
allcontributors[bot] 2379b4f591 docs: update website/docs/contributors.md [skip ci] 2023-07-10 08:27:18 +02:00
Jen Spinney cca3e053ad feat: use asdf to determine elixir version
In order to speed up version checking for the elixir segment, this change makes
it so that we first ask asdf for the elixir version, which is much faster.

If asdf is not installed or configured, the previous behavior of running
`elixir --version` will be used.

This also makes a minor fix to the elixir documentation, replacing 'flutter' with 'elixir'.
2023-07-10 08:26:44 +02:00
Jan De Dobbeleer 69a95bfb38 feat(aws): use AWS_DEFAULT_PROFILE for profile name
resolves #4036
2023-07-10 08:05:41 +02:00
Jan De Dobbeleer e6e9d0a66b feat: update to go 1.20.5 2023-07-09 08:22:35 +02:00
dependabot[bot] 2bad39305f chore(deps): bump golang.org/x/image from 0.8.0 to 0.9.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/image/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 00:54:36 +00:00
dependabot[bot] 450fde6ca2 chore(deps): bump actions/setup-node from 3.6.0 to 3.7.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](64ed1c7eab...e33196f742)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 00:32:46 +00:00
allcontributors[bot] b3f5d17587 docs: update .all-contributorsrc [skip ci] 2023-07-05 14:45:03 +02:00
allcontributors[bot] 3ff973befc docs: update website/docs/contributors.md [skip ci] 2023-07-05 14:45:03 +02:00
ChandanChainani bc56421577 fix(install.sh): missing oh-my-posh binary ubuntu 20 2023-07-05 14:44:27 +02:00
dependabot[bot] 41e1eceb30 chore(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/sys/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 01:17:26 +00:00
dependabot[bot] 2aaf611313 chore(deps): bump golang.org/x/text from 0.10.0 to 0.11.0 in /src
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 01:10:26 +00:00
dependabot[bot] f960fbc0d1 chore(deps): bump golang.org/x/mod from 0.11.0 to 0.12.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/mod/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 01:03:04 +00:00
dependabot[bot] 4ad97dd29d chore(deps): bump github.com/shirou/gopsutil/v3 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.5 to 3.23.6.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.5...v3.23.6)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 01:12:05 +00:00
Jan De Dobbeleer d005bae4f4 feat: add version -v
resolves #4014
2023-07-02 21:11:01 +02:00