Commit graph

1810 commits

Author SHA1 Message Date
Jan De Dobbeleer 1c908a8ce6 fix(git): resolve bare repo pointer 2024-07-26 15:52:24 +02:00
Jan De Dobbeleer 3fddcac9bf fix(git): more robust worktree identification
resolves #5343
2024-07-26 15:52:24 +02:00
L. Yeung 7273dba124 fix(shell): revise initialization scripts 2024-07-26 10:35:45 +02:00
Jan De Dobbeleer 7081cac3a2 feat(git): enable posh-git from the git segment config
BREAKING CHANGE: To use the posh-git module output, you must now set the
`source` property to `pwsh` in the git segment configuration.

In case you are using the default configuration,
you don't need to change anything.
2024-07-26 08:11:57 +02:00
Jan De Dobbeleer 00260e1c72 fix(pwsh): wrap module code in try-catch blocks
relates to #5348
2024-07-26 08:11:57 +02:00
Jan De Dobbeleer 07655211f8 fix(fish): correctly export environment variables 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 51c3f9e0eb fix(windows): only reformat pwd on cygwin 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 1a7f2d2d10 feat(init): add --debug flag 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 9e73b15a3b feat(debug): provide shell name on debug 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer ffd961fc6c feat(cache): split session and device cache 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 4fa407d15e refactor: better use of POSH_THEME 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer f9d2f6040e feat(cygwin): better detection 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 6f30788a16 fix(zsh): correct logic to enable tooltips
resolves #5288
2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 4a1aa2a7b4 refactor(init): enable features automatically 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer ef16b1cd3a refactor(color): move background Template to colors 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer c1f99f8e6b fix: disable hyperlink functionality for unsupported shells 2024-07-25 21:03:10 +02:00
Adi Vaknin 79c859d434 feat(spotify): add segment cache on macOS 2024-07-25 20:39:38 +02:00
Felipe Zorzo 8759171096 feat(maven): add segment 2024-07-25 17:32:53 +02:00
Jan De Dobbeleer eb1cf548cd fix: correct hyperlinks for Git Bash
kill it with fire
2024-07-23 21:23:15 +02:00
Jan De Dobbeleer 7563d5f4ad fix(pwsh): remove prompt cache
resolves #5332
2024-07-23 13:36:58 +02:00
dependabot[bot] dd74429a8c chore: bump github.com/mattn/go-runewidth from 0.0.15 to 0.0.16 in /src
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.15 to 0.0.16.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.15...v0.0.16)

---
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>
2024-07-23 00:16:35 +00:00
Jan De Dobbeleer cd9c7f58d8 fix(notice): disable notice when we're not connected
resolves #5325
2024-07-22 11:48:12 +02:00
Jan De Dobbeleer 7ab48aff70 fix(upgrade): use correct version to compare against 2024-07-22 11:48:12 +02:00
Jan De Dobbeleer b356900c30 feat(font): cache font list
resolves #5300
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer 0b4a9ceb31 fix(install): validate permissions before upgrade
resolves #5318
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer 55bc366a8a feat(upgrade): do not upgrade to major versions automatically
resolves #5273
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer cdfd249b28 fix(bash): remove rprompt support
BREAKING CHANGE: rprompt is no longer supported for bash due to too many
side effects that have no solution in sight.
2024-07-22 09:22:10 +02:00
Jan De Dobbeleer 083c204694 refactor: simpler prompt caching logic 2024-07-22 09:22:10 +02:00
Jan De Dobbeleer c5195f6668 fix(bash): correctly align multiline prompt
relates to #5308
2024-07-22 09:22:10 +02:00
L. Yeung 479e6f551e feat(pwsh): cache prompt for repainting 2024-07-20 20:55:19 +02:00
L. Yeung 4b5bac3b4b fix(terminal): calculate length correctly 2024-07-17 11:11:12 +02:00
Jan De Dobbeleer 024c8b6ed5 fix(pwsh): restore prompt function override 2024-07-17 08:02:09 +02:00
Jan De Dobbeleer 17134cdb29 fix(bash): support multiline prompt 2024-07-15 22:53:41 +02:00
L. Yeung 2585b90946 refactor(shell): normalize identifiers in initialization scripts 2024-07-15 06:59:13 +02:00
L. Yeung ec2c6fb2d8 fix(zsh): use decorated widget for rendering tooltips 2024-07-15 06:59:13 +02:00
dependabot[bot] 7484d3c7b5 chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.12.0...v0.12.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>
2024-07-15 00:48:38 +00:00
Jan De Dobbeleer 08c37417a2 fix(font): prevent zipslip attacks 2024-07-14 21:10:55 +02:00
Jan De Dobbeleer 4aba8fa9db fix(zsh): use POSH_PID as unique identifier instead of random 2024-07-14 07:50:45 +02:00
Jan De Dobbeleer 62e782a4eb feat(upgrade): update correct registry entry 2024-07-14 07:50:45 +02:00
Jan De Dobbeleer 58fd8e5f82 feat(windows): update registry on upgrade 2024-07-12 17:32:02 +02:00
dependabot[bot] c865759e2f chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.11.1...v0.12.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-07-12 00:14:24 +00:00
Jan De Dobbeleer fb9d447c87 feat(az): add tenant name 2024-07-11 21:25:16 +02:00
EDIflyer 1d72a19694 fix(image): export with correct file name 2024-07-11 20:51:51 +02:00
Polo 31d5de095e fix(zsh): widget decoration when non-existent
This commit fixes commit f72c1464ab.
When the widget is undefined, we need to define it instead of decoraring
it.
This PR also makes the logic more robust and in case the decoration
function is used in other cases, expand its usage.
2024-07-11 19:38:48 +02:00
Polo f72c1464ab fix(zsh): decorate user-defined zsh widget
resolves #5193
2024-07-11 07:47:00 +02:00
L. Yeung ad34a6e530 docs(fish): lower version requirement 2024-07-11 07:32:36 +02:00
L. Yeung 66f1347357 fix(shell): avoid unnecessary CLI calls for prompt repaint 2024-07-11 07:32:36 +02:00
dependabot[bot] 18ff71a6ab chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.11.0...v0.11.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>
2024-07-11 00:16:39 +00:00
Jan De Dobbeleer 1d38f36a14 fix(prompt): align right block logic with rprompt
resolves #5220
2024-07-10 10:11:48 +02:00
dependabot[bot] 8767dc3252 chore: bump github.com/gookit/goutil from 0.6.15 to 0.6.16 in /src
Bumps [github.com/gookit/goutil](https://github.com/gookit/goutil) from 0.6.15 to 0.6.16.
- [Release notes](https://github.com/gookit/goutil/releases)
- [Commits](https://github.com/gookit/goutil/compare/v0.6.15...v0.6.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 01:02:04 +00:00
Jan De Dobbeleer d9c2fbb784 fix(install): release file lock before return 2024-07-09 22:36:18 +02:00
Jan De Dobbeleer 9bbd91b1b9 feat(build): sign windows binaries on release 2024-07-09 15:18:07 +02:00
Jan De Dobbeleer 3d0c85b211 feat(git): follow symlinks for git dir 2024-07-09 09:23:03 +02:00
Jan De Dobbeleer 4d3fe566e8 fix(nu): validate config field before manipulation
resolves #5230
2024-07-09 09:23:03 +02:00
L. Yeung d5ec96fef0 fix(bash): cache pipe status correctly 2024-07-09 06:48:05 +02:00
Jan De Dobbeleer b63009d3ff fix(notice): extend timeout to 5 seconds 2024-07-08 16:53:01 +02:00
Jan De Dobbeleer a65abd25a5 fix(bash): native rprompt
resolves #5221
2024-07-08 16:53:01 +02:00
Jan De Dobbeleer b103581ed6 refactor(prompt): explicitly enable cursor positioning 2024-07-08 16:53:01 +02:00
Jan De Dobbeleer 4c3110f3e5 fix(upgrade): stop spinner correctly 2024-07-06 15:12:25 +02:00
Jan De Dobbeleer e9119d4a2d fix(progress): do not escape sequence
resolves #5215
2024-07-06 10:33:36 +02:00
Jan De Dobbeleer 37b8e55131 fix(upgrade): stop progress before exit
resolves #5213
2024-07-06 10:33:36 +02:00
Jan De Dobbeleer 8b6933160a feat(transient): allow setting a newline 2024-07-06 10:33:36 +02:00
dependabot[bot] f0305cefcf chore: bump golang.org/x/mod from 0.18.0 to 0.19.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/mod/compare/v0.18.0...v0.19.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-07-05 00:26:50 +00:00
dependabot[bot] 2782414156 chore: bump golang.org/x/sys from 0.21.0 to 0.22.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.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-07-05 00:26:31 +00:00
Jan De Dobbeleer ae35995c0d fix(upgrade): enable auto-upgrade on init
resolves #5206
2024-07-04 23:13:34 +02:00
Jan De Dobbeleer 23b314879b fix(yaml): parse colors correctly 2024-07-04 21:55:20 +02:00
Jan De Dobbeleer fc8ba361a9 chore(upgrade): add inline documentation 2024-07-04 21:55:20 +02:00
Jan De Dobbeleer b6729ff414 feat(install): validate file signature before installation 2024-07-04 20:02:37 +02:00
Jan De Dobbeleer 0829afb478 feat(build): update key algorithm 2024-07-04 17:04:37 +02:00
Jan De Dobbeleer 51e4faf557 fix(engine): reset segments after write
resolves #5202
2024-07-04 14:30:23 +02:00
Jan De Dobbeleer ad9a598edd chore(build): sign checksums with openssl 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer df4a81e2f6 refactor: rename concurrent to maps 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 822e2b5b48 refactor: merge net and http under runtime module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 05251e1ac3 refactor(platform): rename to runtime 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer bab346fcc5 refactor(prompt): extract extra prompt 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer ad10da8cc9 refactor: move image to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer ee9bdf4761 refactor: move color to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 4c34ffdc32 refactor: move formats to shell 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 0a4a589125 refactor: rename engine to prompt 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 3c6abf6163 refactor(config): extract to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 1855a786dc feat(font): remove install as user requirement on Windows 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer e0e26f1400 feat(font): add terminal progress indication 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer be8954867f feat(upgrade): add terminal progress indication 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 7c7bd14a45 refactor(upgrade): move download inline 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer ddd2d154df refactor(terminal): rename ConsolePwd to Pwd 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer dbc0a370b2 refactor(terminal): make truecolor logic internal 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 0c8b8021b8 refactor: migrate terminal to module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 8e2c8eb6b1 refactor(writer): restructure terminal writer 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 74aaa9b9a2 refactor(ansi): rename to writer 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 55c7cf2383 refactor: rename ansi to terminal 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 083625ec85 refactor: add built-in install 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 3537f3fd49 fix(upgrade): enable for all platforms
resolves #5184
2024-06-29 20:04:48 +02:00
Jan De Dobbeleer dc002fc1e1 fix(cmd): use process ID for cache
resolves #5182
2024-06-28 20:55:17 +02:00
Jan De Dobbeleer 0449aa8a2d feat(config): only download when changed
resolves #5176
2024-06-28 10:04:25 +02:00
Jan De Dobbeleer 12a732d63a fix(font): validate list existance before updating
resolves #5178
2024-06-28 10:04:25 +02:00
dependabot[bot] 170e5ac9e5 chore: bump golang.org/x/image from 0.17.0 to 0.18.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.17.0...v0.18.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-06-26 00:50:02 +00:00
dependabot[bot] 9d29d6a6d0 chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.5 to 0.26.6.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.5...v0.26.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 00:34:33 +00:00
Jan De Dobbeleer fa879a0ec2 fix(windows): create unique installer 2024-06-24 21:04:50 +02:00
Jan De Dobbeleer 197eaaa334 fix(pwsh): use correct dbg prompt logic
resolves #5153
2024-06-24 08:50:21 +02:00
dependabot[bot] 2a9104f22b chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.4 to 0.26.5.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.4...v0.26.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 01:03:19 +00:00
Jan De Dobbeleer 6ee743793a feat(block): allow leading and trailing diamond
relates to #5121
2024-06-21 13:52:57 +02:00
L. Yeung 7f418d7c2d fix(shell): prioritize $? for consistent status in Bash/Zsh 2024-06-20 12:54:03 +02:00
Jan De Dobbeleer 9f2c6d1df5 fix(path): force linux style path for .Location
resolves #5125
2024-06-20 12:27:25 +02:00
Jan De Dobbeleer b809944f5c fix(upgrade): disable upgrade feedback when notice is disabled
resolves #5124
2024-06-20 12:27:25 +02:00
Jan De Dobbeleer b6f5999e21 feat(path): allow displaying the cygwin style path
resolves #5074
2024-06-20 12:27:25 +02:00
dependabot[bot] e4fe0dbf72 chore: bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0 in /src
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.20.1 to 2.21.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.20.1...v2.21.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-06-20 00:18:22 +00:00
Michael Schwobe 9b62e69348 feat(node): add Yarn segment and fix PNPM docs 2024-06-19 17:34:51 +02:00
Jan De Dobbeleer 6c29f43ae5 fix(yaml): update parser to always escape tilde 2024-06-18 12:50:11 +02:00
Nibodhika 8eb8d88a20 feat(nushell): enable set_poshcontext
resolves #5095
2024-06-18 08:46:48 +02:00
Jan De Dobbeleer 0e45aa5997 fix(tcsh): print literal newline char with leading space
it be like that sometimes, I also have no clue why this is necessary

resolves #5105
2024-06-17 19:46:22 +02:00
Jan De Dobbeleer f817acf963 refactor(bash): use default value for COLUMNS
relates to #5102
2024-06-17 15:59:29 +02:00
Jan De Dobbeleer 33ac83551e feat(path): enable templates for max_width
resolves #5097
2024-06-17 15:59:29 +02:00
Michael Schwobe 6554dbf9d4 feat(node): add PNPM segment and update Node context 2024-06-17 08:41:33 +02:00
Jan De Dobbeleer dc2915c72c fix(bash): only use COLUMNS when it's present
relates to #5090
2024-06-17 07:58:58 +02:00
dependabot[bot] c3d91f460a chore: bump github.com/spf13/cobra from 1.8.0 to 1.8.1 in /src
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 01:05:49 +00:00
Jan De Dobbeleer 48a2dff7c2 fix(ansi): escape prompt sequences correctly
resolves #5090
2024-06-16 14:19:32 +02:00
Jan De Dobbeleer 4ed8104d2d fix(bash): get terminal width from COLUMNS
resolves #5090
2024-06-15 17:41:59 +02:00
Nathaniel D. Hoffman 1098aa92f8
feat(os): add default symbol for EndeavourOS 2024-06-15 06:36:20 +00:00
Jan De Dobbeleer 2686a802a3 fix(upgrade): align notice with platform 2024-06-14 19:01:34 +02:00
Jan De Dobbeleer 129c41ba34 feat(upgrade): auto upgrade 2024-06-14 17:58:48 +02:00
Jan De Dobbeleer 527eef0526 feat(upgrade): use built-in upgrade by default 2024-06-14 17:58:48 +02:00
Jan De Dobbeleer 1d53e088cb chore(go): update dependencies 2024-06-14 17:58:48 +02:00
Michael Rose 3ff30f993e feat(tooltips): allow multiple tooltips for tip
Instead of rendering only the last tooltip that matches a given tip it
will now render all tooltips that trigger for that tip.
2024-06-14 13:10:52 +02:00
Jan De Dobbeleer 821e45e968 feat(template): add .AbsolutePWD 2024-06-13 15:03:51 +02:00
Aaron Powell 59ebe57b19 feat(azd): add Azure Developer CLI segment
resolves #4702
2024-06-12 12:21:48 +02:00
Jan De Dobbeleer fbc21b8c97 fix(git): set .Ref correctly on detached HEAD
resolves #5035
2024-06-10 16:25:36 +02:00
Jan De Dobbeleer ddd120178d feat(font): reload font cache on unix systems 2024-06-10 16:25:36 +02:00
Jan De Dobbeleer 89beb8db68 feat(font): install system wide as root on Linux 2024-06-10 16:25:36 +02:00
Joxtacy 27b193b8c5 feat(segment): add bun 2024-06-10 11:33:44 +02:00
dependabot[bot] cee2474b61 chore: bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5742e2a039...286f3b13b1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 12:51:42 +00:00
Jan De Dobbeleer 523cd98e1a feat(os): allow overriding distro name
resolves #5011
2024-06-06 14:47:12 +02:00
pin d824c78464
fix(upgrade): include netbsd 2024-06-05 07:22:07 +02:00
dependabot[bot] cbc571746f chore: bump golang.org/x/sys from 0.20.0 to 0.21.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/sys/compare/v0.20.0...v0.21.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-06-05 00:53:13 +00:00
dependabot[bot] 211d18abb3 chore: bump golang.org/x/mod from 0.17.0 to 0.18.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/mod/compare/v0.17.0...v0.18.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-06-05 00:47:30 +00:00
dependabot[bot] e585e288a9 chore: bump golang.org/x/image from 0.16.0 to 0.17.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/image/compare/v0.16.0...v0.17.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-06-05 00:47:21 +00:00
dependabot[bot] 08a1fc4e81 chore: bump golang.org/x/text from 0.15.0 to 0.16.0 in /src
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.15.0...v0.16.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>
2024-06-05 00:47:06 +00:00
Jan De Dobbeleer fdf0de08c4 fix(linux): remove support for upgrade
resolves #4992 as we are not able to support the upgrade command
on linux as updating oh-my-posh from within itself is impossible
to due a lock on the executable, unlike on darwin

Windows is able to update the executable after we start the installer
in the background and exit the current process
2024-06-04 20:55:21 +02:00
Lucas Costi acc884ccbd chore: update node LTS versions 2024-06-04 11:11:03 +02:00
Arjan Schrijver d20bf0f881 feat(git): add icon for Codeberg upstream 2024-06-03 14:00:22 +02:00
dependabot[bot] 443fdb24a1 chore: bump github.com/shirou/gopsutil/v3 from 3.24.4 to 3.24.5 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.24.4 to 3.24.5.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.24.4...v3.24.5)

---
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-06-03 00:36:11 +00:00
Jan De Dobbeleer a0d2289aec feat(cli): add upgrade command 2024-06-01 16:59:48 +02:00
dependabot[bot] bbe9f9bc02 chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.3 to 0.26.4.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.3...v0.26.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-31 00:44:49 +00:00
Matthew Miller 041c5d4d2d fix: owm allow location city name with spaces
- Escape the location parameter of the owm segment to allow for city
  names with spaces to function correctly.
- Update the owm api url to use https.
2024-05-30 21:24:50 +02:00
LNKLEO 722073b52f feat(owm): only use location for api call
BREAKING CHANGE: location is now required instead of latitude
and longitude
2024-05-29 17:25:18 +02:00
Jan De Dobbeleer 099f6cb6c3 fix(ansi): reset background when transparent 2024-05-29 14:14:48 +02:00
Jan De Dobbeleer 517b7a6d57 fix(font): use font base name 2024-05-27 20:11:44 +02:00
Jan De Dobbeleer 45d6f5d412 fix(cmd): initialize cache correctly
resolves #4959
2024-05-26 17:45:51 +02:00
dependabot[bot] 0a3b317224 chore: bump github.com/charmbracelet/lipgloss in /src
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.10.0...v0.11.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-05-24 01:01:42 +00:00
dependabot[bot] f989e507cb chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.2 to 0.26.3.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.2...v0.26.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-24 00:55:34 +00:00
Jeffrey Labonski 11606ead7a feat(helm): add helmfile support 2024-05-23 18:12:56 +02:00
dependabot[bot] e03023d1cc chore: bump github.com/goccy/go-json from 0.10.2 to 0.10.3
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 08:00:36 +00:00
Jan De Dobbeleer be47940d00 feat(powerline): add leading_powerline_symbol 2024-05-23 09:55:37 +02:00
Jan De Dobbeleer eebb45ef07 fix(iterm): initialize prompt mark correctly for all supported shells 2024-05-20 20:05:16 +02:00
Ernesto Casablanca 5dee9d74a6 fix: correct links for versions higher than 6 2024-05-20 16:20:01 +02:00
Jan De Dobbeleer e7a10ac029 feat(iterm): add iTerm features to the root configuration
BREAKING CHANGE: The iTerm segment has been removed and its features
have been added to the root configuration. To re-enable the iTerm
features, remove the iTerm segment and add the following to your
oh-my-posh configuration:

```json
{
  "iterm_features": ["prompt_mark", "current_dir", "remote_host"]
}
```

Choose this option if you want to enable the prompt mark for shell
integration and/or enable current directory and remote host in the
iTerm status bar.
2024-05-19 14:13:01 +02:00
Jan De Dobbeleer 391ceaf5f0 feat(zsh): remove rprompt space natively 2024-05-19 09:19:58 +02:00
Jan De Dobbeleer 950c608939 feat(go): upgrade to 1.22.3 2024-05-19 08:44:07 +02:00
Jan De Dobbeleer 4e9f7f9060 feat(font): add official Cascadia Code release
resolves #4936
2024-05-17 13:56:19 +02:00
Jan De Dobbeleer 2a144c9d07 fix(template): correctly map SHLVL for use 2024-05-14 20:16:46 +02:00
Jan De Dobbeleer 738048bc9f feat(python): add support for py launcher
resolves #4923
2024-05-13 08:41:21 +02:00
L. Yeung 0b5277e4a2 feat(os): add a default icon for deepin 2024-05-10 09:48:25 +02:00
dependabot[bot] be2e63e680 chore(deps): bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.1 to 0.26.2.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.1...v0.26.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 00:41:58 +00:00
Jan De Dobbeleer adf97352d0 feat(notice): disable from configuration
resolves #4902
2024-05-06 20:52:45 +02:00
dependabot[bot] 39df43a3b1 chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/sys/compare/v0.19.0...v0.20.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-05-06 01:31:28 +00:00
dependabot[bot] 0f7e7464cb chore(deps): bump golang.org/x/image from 0.15.0 to 0.16.0 in /src
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/image/compare/v0.15.0...v0.16.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-05-06 01:12:19 +00:00
Jan De Dobbeleer e5156a8d44 chore(lint): remove init check 2024-05-04 08:07:47 +02:00
Jan De Dobbeleer 1c8347287a fix(nu): support starting with --no-history
resolves #4887
2024-05-04 08:07:47 +02:00
Ivan f03c6cb00c
feat(segment): add talosctl 2024-05-04 07:56:15 +02:00
dependabot[bot] 4179476fe4 chore(deps): bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.26.0...v0.26.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 01:05:15 +00:00
dependabot[bot] 8388bae83b 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.2.1 to 2.2.2.
- [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.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 00:38:17 +00:00
dependabot[bot] bd428a1372 chore(deps): bump github.com/shirou/gopsutil/v3 in /src
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.24.3 to 3.24.4.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.24.3...v3.24.4)

---
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-05-02 00:38:02 +00:00
dependabot[bot] 619387aa9e chore(deps): bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.25.0...v0.26.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>
2024-05-02 00:37:42 +00:00
Jan De Dobbeleer b3ead100d2 feat(iterm): add extension support
resolves #4834
2024-04-30 16:33:55 +02:00
MarkDaveny 6698b71f10 chore: fix some typos in comments
Signed-off-by: MarkDaveny <peicuiping@aliyun.com>
2024-04-29 21:54:31 +02:00
Jan De Dobbeleer 5f095d61f2 fix(path): correct logic for agnoster style
relates to #4727
2024-04-25 08:33:53 +02:00
Jan De Dobbeleer 92031bdf51 fix(path): construct currentpath correctly on Windows
relates to #4727
2024-04-22 10:46:48 +02:00
Bondrake 64eeb400c5 fix(fonts): use new rasterizer, all icons work 2024-04-20 20:12:50 +02:00
Jan De Dobbeleer 6c44459b6f feat(command): allow bypassing custom logic
resolves #4835
2024-04-20 09:40:48 +02:00
Justin Wolfington ce6cdb4def fix(pulumi): improve reliability of filepath hash calculation 2024-04-20 09:10:26 +02:00
Ivan 659a57f013
feat(nightscout): add headers property 2024-04-19 23:09:00 +02:00
Christian Becker 8ead4ce87e feat(svn): add repository name 2024-04-19 20:58:42 +02:00
Ivan a47070b9d8
fix(firebase): sub path validation 2024-04-19 14:50:40 +02:00
ivan-the-terrible 7fc2b70fb3 feat(segment): firebase segment 2024-04-18 14:51:00 +02:00
dependabot[bot] 2335e61de4 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.2.0 to 2.2.1.
- [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.2.0...v2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 01:03:27 +00:00
dependabot[bot] 7a6ecba7c7 chore(deps): bump golang.org/x/mod from 0.16.0 to 0.17.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/mod/compare/v0.16.0...v0.17.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-04-05 01:09:03 +00:00
dependabot[bot] 7c149f2bdb chore(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.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-04-05 01:08:58 +00:00
Jan De Dobbeleer c4e11fe48d feat(path): allow left and right formatting 2024-04-03 16:23:01 +02:00
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