Commit graph

1623 commits

Author SHA1 Message Date
dependabot[bot] 26d3425016 chore(deps): bump github.com/shirou/gopsutil/v3 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.24.2 to 3.24.3.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.24.2...v3.24.3)

---
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>
2024-04-02 00:45:28 +00:00
Jan De Dobbeleer 6f71fc417a chore: ignore deprecated syscall.Syscall 2024-03-30 15:37:28 +01:00
Jan De Dobbeleer 6e1137512c feat(path): highlight git directory
resolves #4727
2024-03-30 15:37:28 +01:00
dependabot[bot] c072bb941d chore(deps): bump github.com/hashicorp/hcl/v2 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.20.0 to 2.20.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.20.0...v2.20.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 00:44:38 +00:00
Jan De Dobbeleer ab5a9ed3a7 chore(lint): golangci-lint 1.57.0 compatibility 2024-03-23 19:21:57 +00:00
dependabot[bot] 17deda093d chore(deps): bump github.com/pelletier/go-toml/v2 in /src
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml)
- [Commits](https://github.com/pelletier/go-toml/compare/v2.1.1...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 19:21:57 +00:00
Jan De Dobbeleer cd232cd17e revert(git): remove trailing space from upstream icons
This reverts commit f277c191b1 as it was
not the correct change to make. The upstream icons are supposed to
have trailing spaces so they display correctly in the default template.

resolves #4784
2024-03-19 08:35:11 +01:00
Jan De Dobbeleer 6bbdfb9c45 feat(node): do not show on .npmrc 2024-03-18 20:07:25 +01:00
Joshua Reilly f277c191b1
fix(git): remove trailing space from upstream icons 2024-03-15 07:20:38 +01:00
Jan De Dobbeleer a8f97f5aa2 docs(export): remove deprecated flags 2024-03-14 14:51:36 +01:00
Jan De Dobbeleer a7c60c36a5 fix(spotify): trim whitespace before processing 2024-03-14 14:51:36 +01:00
Luca Zecca 8791965f3f feat: add pulumi segment 2024-03-14 08:47:58 +01:00
Jan De Dobbeleer 0674681fc8 refactor: remove csv from codepoint processing 2024-03-14 08:34:55 +01:00
Jan De Dobbeleer d05737a8e8 fix(spotify): parse correctly when in WSL 2024-03-14 08:34:55 +01:00
Jan De Dobbeleer 8e2419452c fix(config): always strip comments from json 2024-03-12 15:41:49 +01:00
Jan De Dobbeleer ae806a1942 fix(config): do not escape glyphs for toml and yaml 2024-03-12 15:41:49 +01:00
Jan De Dobbeleer 3d7be9250c chore: remove unused staticcheck ignore 2024-03-12 10:15:57 +01:00
Jan De Dobbeleer e49638c068 fix(yaml): update go-yaml fork 2024-03-12 10:15:57 +01:00
Jan De Dobbeleer f6a0bedf6e feat: pin to go 1.22 2024-03-12 10:15:57 +01:00
Jan De Dobbeleer b38df39fd2 refactor: remove duplicate toml library 2024-03-12 10:15:57 +01:00
Jan De Dobbeleer fd095c80a9 fix(toml): use fork to escape glyphs correctly 2024-03-12 10:15:57 +01:00
Jan De Dobbeleer 9686b32ffa fix(config): support jsonc 2024-03-11 18:07:40 +01:00
Jan De Dobbeleer 414581cf68 refactor: move cache out of shell 2024-03-11 13:30:24 +01:00
Jan De Dobbeleer 6500282575 feat(env): cache filesystem for fast lookup 2024-03-11 13:30:24 +01:00
Jan De Dobbeleer 822f1c3ecd feat(go): upgrade dependencies 2024-03-11 13:20:49 +01:00
Jan De Dobbeleer fb16d7c417 fix(export): fail on invalid config option 2024-03-11 13:20:49 +01:00
Jan De Dobbeleer 67042ffa50 fix(cli): use correct exit codes 2024-03-11 13:20:49 +01:00
Jan De Dobbeleer 17dd5c8b58 fix(export): write config with correct permissions 2024-03-11 13:20:49 +01:00
Jan De Dobbeleer 5b7b4afec9 fix(export): format overrules file extension 2024-03-11 13:20:49 +01:00
Jan De Dobbeleer 87d1719bd0 feat(config): use custom config parser 2024-03-11 13:20:49 +01:00
dependabot[bot] 24ddffe0a5 chore(deps): bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.9.1...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 00:56:38 +00:00
Jan De Dobbeleer ae73c1dad5 fix(spotify): adjust incorrect erorr check 2024-03-05 12:58:05 +01:00
rocky@HP_OMEN 21df976c2f feat(python): make parent folder fallback optional 2024-03-05 12:58:05 +01:00
Grzegorz Krasoń 134f7013cf
feat(nu): validate existence of history.txt 2024-03-05 12:36:31 +01:00
dependabot[bot] 70fa0bffca chore(deps): bump golang.org/x/mod from 0.15.0 to 0.16.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/mod/compare/v0.15.0...v0.16.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>
2024-03-05 01:10:16 +00:00
dependabot[bot] 413a8808c6 chore(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.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>
2024-03-05 01:08:11 +00:00
dependabot[bot] fefa311762 chore(deps): bump github.com/shirou/gopsutil/v3 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.24.1 to 3.24.2.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.24.1...v3.24.2)

---
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>
2024-03-04 01:09:18 +00:00
dependabot[bot] b442c06a1b chore(deps): bump github.com/stretchr/testify in /src
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 00:39:41 +00:00
dependabot[bot] 365d8f19db chore(deps): bump github.com/hashicorp/hcl/v2 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.19.1...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 00:31:27 +00:00
Jan De Dobbeleer bb2ac0cec5 fix(segment): only join diamonds with no diamond at end 2024-02-29 18:02:33 +01:00
Jan De Dobbeleer a5fc8dbed5 fix(diamond): join segments when no trailing diamond 2024-02-27 15:25:01 +01:00
Jan De Dobbeleer 721dcb669c fix(notice): use generic upgrade statement
resolves #4717
2024-02-27 13:55:53 +01:00
Jan De Dobbeleer 0671e2c42c fix(git): migrate deprecated icon 2024-02-20 20:25:17 +01:00
Lucas Costi 7368fe3672
fix: update node LTS version numbers 2024-02-19 08:04:38 +00:00
Jan De Dobbeleer 9e7237a89f fix(themes): adjust themes for correct rendering 2024-02-15 20:27:20 +01:00
Jan De Dobbeleer fece104e73 fix(image): use fixed image width 2024-02-15 20:27:20 +01:00
Jan De Dobbeleer 502558efa5 fix(image): exclude U+e0b6 from double width 2024-02-15 20:27:20 +01:00
Jan De Dobbeleer 6bbca22d3b fix(image): use correct range for icon code points 2024-02-14 21:53:38 +01:00
Jan De Dobbeleer 43e9246c6b fix(cli): initialize .Var correctly 2024-02-14 21:53:38 +01:00
Jan De Dobbeleer f6a8c8dc87 feat(windows): parse app exec links 2024-02-13 11:52:32 +01:00
Jan De Dobbeleer f11a4ec780 chore(go): update dependencies 2024-02-13 11:52:32 +01:00
dependabot[bot] 87555288eb chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 3.7.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3a91952989...3cfe3a4abb)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 12:12:24 +00:00
dependabot[bot] b5e78d835c chore(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.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>
2024-02-08 00:59:45 +00:00
dependabot[bot] 1a5c7996eb chore(deps): bump golang.org/x/mod from 0.14.0 to 0.15.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/mod/compare/v0.14.0...v0.15.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>
2024-02-08 00:59:40 +00:00
Jan De Dobbeleer 93d0cac0db fix(unix): fetch COLUMNS when we don't have a terminal width 2024-02-07 08:17:48 +01:00
Jan De Dobbeleer bb5e1b1a2e fix(git): show original worktree as repo name 2024-02-07 08:17:48 +01:00
dependabot[bot] 030d52bd6d chore(deps): bump github.com/charmbracelet/bubbles in /src
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.17.1 to 0.18.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.17.1...v0.18.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 00:56:20 +00:00
Jan De Dobbeleer 011a4ab8f5 fix(ansi): allow usage of < and > in text with overrides 2024-01-26 17:14:07 +01:00
Jan De Dobbeleer 4fb18aaac7 fix(git): convert realdir when we have a worktree 2024-01-25 09:10:25 +01:00
srpmtt b8830a683a feat: react segment 2024-01-21 14:25:56 +01:00
Jan De Dobbeleer ed40fc7bf5 feat(language): cache version info 2024-01-21 14:06:49 +01:00
srpmtt 5786720f21
feat: ocaml segment 2024-01-15 19:48:03 +01:00
dependabot[bot] 8145d595c6 chore(deps): bump github.com/gookit/config/v2 in /src
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.2.4...v2.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 00:57:42 +00:00
Jan De Dobbeleer 4cf65fddfb fix(git): set Detached on when fetch_status is false 2024-01-13 20:22:16 +01:00
Jan De Dobbeleer 04b75ec476 fix(ansi): do not print invisible characters
resolves #4594
2024-01-11 07:56:54 +01:00
Jan De Dobbeleer f078d13cca fix(bash): override pipestatus when BP_PIPESTATUS is greater or equal 2024-01-10 08:07:39 +01:00
Jan De Dobbeleer 1d7f923af0 feat: build for freebsd
resolves #4585
2024-01-06 11:33:25 +01:00
dependabot[bot] 9ed9641b22 chore(deps): bump golang.org/x/image from 0.14.0 to 0.15.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/image/compare/v0.14.0...v0.15.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>
2024-01-05 00:44:26 +00:00
dependabot[bot] 7356fa55f9 chore(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.16.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>
2024-01-05 00:39:09 +00:00
Jan De Dobbeleer bff6353b28 fix(hyperlink): use built-in format to avoid collisions
resolves #4569
2024-01-01 20:58:18 +01:00
Jan De Dobbeleer 0c304f0806 fix(nba): adjust test to solve season offset on year end 2024-01-01 20:58:18 +01:00
Jan De Dobbeleer db32446a74 feat(node): match lts versions
resolves #4555
2023-12-19 08:24:19 +01:00
dependabot[bot] ebc7777e90 chore(deps): bump golang.org/x/crypto from 0.8.0 to 0.17.0 in /src
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.8.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.8.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 00:39:22 +00:00
Vedant 3430699821
chore: add schema to .goreleaser.yml (#4544) 2023-12-15 12:33:42 +01:00
dependabot[bot] d833b2bcc6 chore(deps): bump github.com/charmbracelet/bubbles in /src
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.16.1 to 0.17.1.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.16.1...v0.17.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 00:39:10 +00:00
dependabot[bot] ab503b3492 chore(deps): bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.24.2...v0.25.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 00:20:52 +00:00
Jan De Dobbeleer 22a02f2dde fix(git): make .git optional on remotes
resolves #4524
2023-12-07 09:29:16 +01:00
Jan De Dobbeleer 5493ddb640 feat(template): add readFile
closes #4518
2023-12-04 19:46:56 +01:00
Jan De Dobbeleer d588965e50 fix(cmd): only fetch =ExitCode on no status 2023-12-02 20:16:03 +01:00
Jan De Dobbeleer 1bdc22bf40 feat(cmd): optionally fetch status from =ExitCode
resolves #4478
2023-12-02 12:00:10 +01:00
Oleksandr Babieiev 9e470e5205 feat(project): add PEP 621 support for Python projects
BREAKING CHANGE: this replaces the `poetry` `.Type` value with `python`.
Segment templates matching the `poetry` type will need to be updated to
match the new `python` type.
2023-12-02 11:46:59 +01:00
Jan De Dobbeleer bcebcb55a2 feat(terraform): add all contextual files 2023-12-01 20:54:06 +01:00
Jan De Dobbeleer aed0c4f6d1 fix(config): update default to use STATUS segment 2023-12-01 11:25:19 +01:00
Jan De Dobbeleer 74da88f99c feat(owm): add API key environment variable
resolves #4488
2023-11-29 11:15:05 +01:00
Jan De Dobbeleer 230f8f4973 feat(upgrade): expose current version number in segment 2023-11-29 11:15:05 +01:00
dependabot[bot] 9737cf7ca3 chore(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.15.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-11-28 01:12:35 +00:00
Jan De Dobbeleer 430d83ea42 chore: update Nerd Font to v3.1.0 2023-11-26 16:35:34 +01:00
Jan De Dobbeleer c7c01286ac fix(session): support changing user
resolves #4442
2023-11-19 19:53:09 +01:00
Jan De Dobbeleer 90dacce1d1 fix(glyphs): use same int size for validation
resolves #4454
2023-11-19 19:53:09 +01:00
Benj Fassbind 56e3dc6b43 fix(shell): network config cache fallback 2023-11-15 13:07:32 +01:00
Jan De Dobbeleer 54c5262a27 refactor: make true string constant 2023-11-09 17:40:26 +01:00
Jan De Dobbeleer 1298129b87 refactor: use the same string for API key properties 2023-11-09 17:40:26 +01:00
Snow cf3dc7c069 feat(segment): add lastfm 2023-11-09 17:40:26 +01:00
Tend 8b0854a424
feat(segment): add bazel 2023-11-09 09:31:48 +00:00
dependabot[bot] 443b6e2a17 chore(deps): bump golang.org/x/image from 0.13.0 to 0.14.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/image/compare/v0.13.0...v0.14.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-11-08 00:54:37 +00:00
Jan De Dobbeleer f44fddd5a9 fix(image): adjust material icons range 2023-11-06 17:57:33 +01:00
dependabot[bot] 33403165dc chore(deps): bump golang.org/x/text from 0.13.0 to 0.14.0 in /src
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.13.0...v0.14.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-11-06 01:08:32 +00:00
dependabot[bot] c9ec8f2538 chore(deps): bump golang.org/x/mod from 0.13.0 to 0.14.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/mod/compare/v0.13.0...v0.14.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-11-06 00:52:34 +00:00
dependabot[bot] fa71d1f208 chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 in /src
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 00:51:23 +00:00
dependabot[bot] d18e10a3e2 chore(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.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-11-06 00:51:06 +00:00
Jan De Dobbeleer 0a598a99bb fix(zsh): correctly align right block
resolves #4327
2023-11-05 11:27:19 +01:00
Paulo Morgado dbc8998749 fix(project): ignore dotnet target if not found 2023-11-04 10:49:04 +01:00
joadoumie cec96d8b94 feat: nba segment 2023-11-04 08:57:58 +01:00
Mateusz Bajorek 870ff86778 feat(git): add .LatestTag template property 2023-11-01 14:55:43 +01:00
Jan De Dobbeleer 1f5d3ea90a fix(pwsh): wrap keyhandlers in try/finally 2023-11-01 12:41:23 +01:00
Paulo Morgado 1b20c82440 feat: detect sln and sln files as project files 2023-11-01 12:04:37 +01:00
Alex Potter 5655bb4e6d feat: carbon intensity segment 2023-11-01 11:49:44 +01:00
Eng Zer Jun 7172ee42f6 refactor(migrate): delete redundant type conversion
`Property` is a defined type with underlying type of `string`. From the
Go specification [1]:

  "two types are identical if their underlying type literals are
structurally equivalent".

Therefore, we don't need to explicitly convert the string values to
`Property`.

[1]: https://go.dev/ref/spec#Type_identity

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-10-30 18:51:18 +01:00
Warren Buckley 0706a5b144 fix(umbraco): change made to keep checking through files found alongside umbraco folder
this is because we may have had a web.config file found (that is not for umbraco) before a *.csproj file is later found that does include umbraco installed
2023-10-30 15:40:20 +01:00
Sri Ramanujam 91fb561de7 feat(python): use parent directory as name when "venv" or ".venv" 2023-10-30 15:30:23 +01:00
Mateusz Bajorek 4b1fbb8860 fix(themes): yarn nerdfont 3.x icon codepoint 2023-10-30 14:15:48 +01:00
Warren Buckley 37ed322bb8 fix(umbraco): even older versions of umbraco in webconfig used a different appsetting key
now checks for umbracoconfigurationstatus and adds a new test case for it
2023-10-30 12:15:52 +01:00
Jan De Dobbeleer f598c3f73e fix(gopsutil): update fork
relates to #4397
2023-10-30 08:49:53 +01:00
Jan De Dobbeleer f40a7bbe8d
feat: build linux 386
relates to #4397
2023-10-29 16:32:21 +01:00
Jan De Dobbeleer e5547a8c85 fix(pwsh): use correct path variable
resolves #4385
2023-10-28 10:16:58 +02:00
Mateusz Bajorek 84f2c9a1eb
fix(themes): yarn icon for NerdFonts 3.x update
Co-authored-by: Mateusz Bajorek <mab@viabill.com>
2023-10-28 09:56:01 +02:00
Warren Buckley 30e4a591d7
feat(segment): umbraco segment to display modern or legacy version 2023-10-28 09:54:43 +02:00
Jan De Dobbeleer 46c6275630 fix(lint): make string repetitions constant 2023-10-24 10:53:23 +00:00
dependabot[bot] 858a0d6ede chore(deps): bump github.com/hashicorp/hcl/v2 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 00:40:40 +00:00
Jan De Dobbeleer 1bde6f929b feat(nu): transient prompt 2023-10-18 11:19:14 +02:00
Jan De Dobbeleer 205cfe3847 fix(pwsh): validate theme path existence
resolves #4359
2023-10-18 10:40:10 +02:00
Jan De Dobbeleer e15a797640 feat(shell): allow user to specify the cache path with OMP_CACHE_DIR
resolves #4321
2023-10-17 09:15:30 +02:00
Jan De Dobbeleer 0cfe9a7423 fix(git): do not convert path when using native_fallback in WSL 2023-10-17 09:15:30 +02:00
BPplays dadbb28822 fix(os): add 'almalinux' to the icon map 2023-10-17 08:35:52 +02:00
dependabot[bot] d1debcfd6a chore(deps): bump github.com/gookit/config/v2 in /src
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.2.3...v2.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 00:35:19 +00:00
dependabot[bot] ec16a859f6 chore(deps): bump github.com/hashicorp/hcl/v2 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.18.1...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 00:34:55 +00:00
ginglis13 eef39eff77 refactor: remove io/ioutil
io/ioutil has been deprected since go 1.16
https://pkg.go.dev/io/ioutil

Signed-off-by: ginglis13 <ginglis05@gmail.com>
2023-10-14 19:31:06 +02:00
nopeless fb5744985b fix(project): remove env folder for python 2023-10-14 09:04:05 +02:00
dependabot[bot] 4baeed8cc9 chore(deps): bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.9.0...v0.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-13 00:28:10 +00:00
Jan De Dobbeleer 82be7a507a fix(git): initialize status prior to bare repo check
resolves #4330
2023-10-12 18:49:01 +02:00
dependabot[bot] 1c24745e58 chore(deps): bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 01:05:25 +00:00
dependabot[bot] 4325d4afd3 chore(deps): bump github.com/hashicorp/hcl/v2 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.18.0 to 2.18.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.18.0...v2.18.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 01:20:53 +00:00
dependabot[bot] 33d4fbcb90 chore(deps): bump golang.org/x/sys from 0.12.0 to 0.13.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/sys/compare/v0.12.0...v0.13.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-10-06 01:08:56 +00:00
dependabot[bot] 12977b0792 chore(deps): bump golang.org/x/mod from 0.12.0 to 0.13.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/mod/compare/v0.12.0...v0.13.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-10-06 01:07:22 +00:00
dependabot[bot] fc05444a24 chore(deps): bump golang.org/x/image from 0.12.0 to 0.13.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/image/compare/v0.12.0...v0.13.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-10-06 01:00:18 +00:00
Warren Buckley 64da68a3b8 feat(shell): make hasfiles support case insensitive filenames in pattern 2023-10-02 16:49:24 +02:00
dependabot[bot] d6a3345b99 chore(deps): bump github.com/shirou/gopsutil/v3 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.8 to 3.23.9.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.8...v3.23.9)

---
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-10-02 00:43:28 +00:00
Jan De Dobbeleer 5f5c0c0e9b fix(git): strip correct directory part when in worktree 2023-09-29 09:29:09 +02:00
Jan De Dobbeleer 19020c10bb fix(ansi): pop color at the end of the text
resolves #4290
2023-09-27 14:23:51 +02:00
Jan De Dobbeleer 2b51623bda fix(ansi): reset transparent on override end
resolves #4280
2023-09-24 09:23:07 +02:00
Jan De Dobbeleer 31a51ff117 feat(git): support for remotes
currently a hidden feature
2023-09-23 22:33:39 +02:00
Jan De Dobbeleer bd3cd316c2 fix(ansi): restore previous override correctly 2023-09-23 22:33:39 +02:00
Jan De Dobbeleer 35c2588365 chore: fix function typo 2023-09-19 19:35:23 +02:00
dependabot[bot] 83149b2298 chore(deps): bump golang.org/x/image from 0.11.0 to 0.12.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/image/compare/v0.11.0...v0.12.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-09-19 11:04:23 +02:00
dependabot[bot] 83d2d24913 chore(deps): bump github.com/shirou/gopsutil/v3 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.7 to 3.23.8.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.7...v3.23.8)

---
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-09-19 11:04:03 +02:00
dependabot[bot] 7a3eec6007 chore(deps): bump golang.org/x/text from 0.12.0 to 0.13.0 in /src
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.12.0...v0.13.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-09-19 00:48:53 +00:00
dependabot[bot] 6818bc0ac7 chore(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/sys/compare/v0.11.0...v0.12.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-09-19 00:41:48 +00:00
dependabot[bot] e48a32d80f chore(deps): bump github.com/hashicorp/hcl/v2 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.17.0 to 2.18.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.17.0...v2.18.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 00:41:34 +00:00
Jan De Dobbeleer 3ccafdf8f4 fix(font): create Fonts folder when non-existant
resolves #4257
2023-09-15 08:41:10 +02:00
Jan De Dobbeleer b887d13ccd fix(nu): use native right prompt command
resolves #4237

this also avoids renderibng the right prompt twice when the shell
script uses the `oh-my-posh print right` command
2023-09-15 08:41:10 +02:00
pulsation f0d57d1976 feat(platform): add support for OpenBSD 2023-09-12 20:50:00 +02:00
Jan De Dobbeleer 0b0111fe2a fix(compare): support int64
relates to #3309
2023-09-09 20:39:22 +02:00
Jan De Dobbeleer 346091feb8 feat(colors): allow nested overrides 2023-09-08 16:23:50 +02:00
Ernesto R. C. Pereda 43aca8e9ea
feat(helm): add segment 2023-09-04 21:00:04 +02:00
Jan De Dobbeleer 8f8dd04ac7 fix(git): correctly identify conflicted files 2023-09-04 17:06:20 +02:00
Jan De Dobbeleer 3d53650b22 refactor(git): add booleans to identify state 2023-09-04 17:06:20 +02:00
Jan De Dobbeleer 669521c8f7 fix(engine): do not print sequential newlines on no content
relates to #4182
2023-09-03 09:03:14 +02:00
Jan De Dobbeleer 566a9d1471 fix(project): return nil when no files found for pwsh 2023-09-02 09:15:27 +02:00
Jan De Dobbeleer d3272faedd fix(kraken): only use first root commit 2023-09-02 09:15:27 +02:00
Jan De Dobbeleer a9e2ba61fa fix(windows): escape PWD in emulated shells
relates to #4208
2023-08-31 11:01:23 +02:00
kema dba8b2f7ad
feat(git): add aws codecommit upstream 2023-08-30 21:08:54 +02:00
Jan De Dobbeleer 7cf63eead5 fix(engine): do not print empty block 2023-08-30 12:56:07 +02:00
Jan De Dobbeleer eaa28738e2 chore(go): update to go 1.21 2023-08-29 20:33:57 +02:00
Jan De Dobbeleer cac268bcca feat(font): display font families
resolves #4168
2023-08-27 12:06:10 +02:00
Jan De Dobbeleer b2f3a43d19 fix(project): exclude powershell script analyzer settings file
resolves #4188
2023-08-27 12:06:10 +02:00
Jan De Dobbeleer b5bde55cf2 fix: store downloaded config on file name hash 2023-08-27 12:06:10 +02:00
Jan De Dobbeleer 0f8929ed13 feat(debug): print templates 2023-08-25 12:09:54 +02:00
Jan De Dobbeleer a1841d21e2 fix(template): support all numbers for trunc
resolves #4184
2023-08-25 12:09:54 +02:00
Jan De Dobbeleer 672f108d22 feat(git): add SHA1 to commit metadata 2023-08-25 12:09:54 +02:00
dependabot[bot] b2e3d454cb chore(deps): bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.7.1...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-23 09:30:35 +02:00
Dan Rose a711f9b7f7 fix(fonts): register user fonts correctly on Windows
Previously on Windows, fonts installed with `oh-my-posh font install --user` would not show up in the Control Panel nor as an option in program font menus.

Now, fonts are correctly registered.
2023-08-18 23:34:51 +02:00
Jan De Dobbeleer 75e098b20b fix(path): add last element when only 1 level deep
resolves #4162
2023-08-17 09:31:39 +02:00
Jan De Dobbeleer aa51cd65d0 fix(pwsh): patch PowerShell color bleed
relates to #65
2023-08-09 08:28:35 +02:00
Jan De Dobbeleer 328601be78 fix(template): save Segments correctly
resolves #4143
2023-08-08 09:25:13 +02:00
dependabot[bot] 50d98f5e68 chore(deps): bump golang.org/x/sys from 0.10.0 to 0.11.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/sys/compare/v0.10.0...v0.11.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-08-07 01:13:22 +00:00
dependabot[bot] 23f1846182 chore(deps): bump golang.org/x/image from 0.10.0 to 0.11.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/image/compare/v0.10.0...v0.11.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-07 00:50:02 +00:00
Jan De Dobbeleer 0afa0880a9 fix(pwsh): remove hack that solves a pwsh bug
relates to #65
2023-08-06 20:56:44 +02:00
Jan De Dobbeleer f9f309d1f4 fix(plain): do not print title 2023-08-06 15:52:26 +02:00
Jan De Dobbeleer 9a6fbb6f52 fix(rprompt): print when plain 2023-08-06 15:52:26 +02:00
Jan De Dobbeleer 4bab59fbd8 feat(debug): use actual prompt logic 2023-08-06 15:52:26 +02:00
Jan De Dobbeleer 744b1f042c fix(prompt): only pad on positive count 2023-08-06 10:10:58 +02:00
L. Yeung 8db1365ea6 fix(cli): list all supported shells in usage text for init 2023-08-06 07:29:04 +02:00
Jan De Dobbeleer c78aa60455 fix(pwsh): force initialization of NoExitCode
resolves #4128
2023-08-05 17:53:58 +02:00
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] 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 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
Jan De Dobbeleer 413cb97bcd fix(http): only use HTTPS_PROXY 2023-07-23 09:35:58 +02:00
Jan De Dobbeleer aacef4b186 feat: add quasar segment 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